Main Content

mdlxLibrary

Create Modelithics library object

Since R2023a

    Description

    Use the mdlxLibrary object to create an object that supports Modelithics SELECT+ Library™ for passive components. Before you create a mdlxLibrary object, you must set up the Modelithics® library using the mdlxSetup function.

    Note

    This object requires a Modelithics SELECT+ Library or a Modelithics Exemplar Library license. For more information, see Modelithics Libraries for MATLAB and Modelithics Support.

    Creation

    Description

    Lobj = mdlxLibrary creates a Modelithics library object.

    example

    Lobj = mdlxLibrary(LibPath) creates a Modelithics library object with the Modelithics library located specified in LibPath and sets the LibraryPath property.

    Input Arguments

    expand all

    Modelithics library folder path, specified as a string scalar.

    Example: mdlx = mdlxLibrary('C:\MDLX\SELECT')

    Properties

    expand all

    This property is read-only.

    List of available component type in the Modelithics SELECT+ Library or Modelithics Exemplar Library, returned as a cell array.

    This property is read-only.

    List of available vendor names in the Modelithics SELECT+ Library or Modelithics Exemplar Library, returned as a cell array.

    This property is read-only.

    List of available substrate types in the Modelithics SELECT+ Library or Modelithics Exemplar Library, returned as a cell array.

    This property is read-only.

    Modelithics library folder path, returned as a character vector.

    Object Functions

    searchSearch Modelithics component of interest

    Examples

    collapse all

    Set up Modelithics SELECT+ Library™.

    mdlxSetup('C:\mdlx_library\SELECT')
    

    Create a new Modelithics library object related to the library you set up.

    mdlx = mdlxLibrary;
    

    Search the library for a component that you can mount on the Rogers4350B4mil substrate with the vendor name AVX.

    search(mdlx,'Rogers4350B4mil',Vendor='AVX')
    

    This command displays the search results of the components based on your search criteria.

    Select the Substrate tab to view the the component properties such as substrate, thickness, and many more.

    search-substrate.png

    The AVX 600S capacitor on a 4 mil Roger 4350B substrate fits the search criteria. Create a Modelithics component object that matches these characteristics.

    pobj = mdlxPart(mdlx,'600S','Capacitors','AVX','Rogers4350B4mil',Value=1.2e-12);
    

    Create a circuit named C_AVX_600S_Rogers4350B4mil.

    hckt = circuit('C_AVX_600S_Rogers4350B4mil')'
    

    Add the Modelithics component to the circuit.

    add(hckt,[1 2],pobj);
    

    Set the ports of the circuit.

    setports(hckt, [1 0],[2 0]);
    

    Display the Modelithics component to ensure it is connected to the circuit.

    disp(pobj)
    

    Calculate the S-parameters of the circuit.

    S = sparameters(hckt,linspace(0,20e9,101));
    

    Plot the S-parameters characteristics.

    figure;
    rfplot(S)
    ylim([-40 0])
    

    Version History

    Introduced in R2023a

    expand all