Main Content

search

Search Modelithics component of interest

Since R2023a

    Description

    search(lobj,substrate) displays a window with two tabs. The first tab Search Results displays a list of all components in Modelithics SELECT+ Library™ components with a substrate substrate. The second tab Substrate lists all the substrates available in Modelithics SELECT+ Library.

    Note

    This function requires a Modelithics SELECT+ Library license. For more information, see Modelithics SELECT+ Library for MATLAB.

    example

    search(lobj,substrate,Name=Value) specifies additional search criteria using name-value arguments. You can narrow down your component search by vendor name, type of passive component, the value of the passive component, and the rated value.

    example

    pobj = search(___) returns an array of mdlxPart object.

    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 ATC.

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

    search-mdlx.png search-substrate.png

    The ATC 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','ATC','Rogers4350B4mil',Value=1.2e-12);
    

    Create a circuit named C_ATC_600S_Rogers4350B4mil.

    hckt = circuit('C_ATC_600S_Rogers4350B4mil')
    

    ckt-mdlx.png

    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.

    disp(pobj)
    

    mdlxpart.png

    Calculate the S-parameters of the circuit.

    S = sparameters(hckt,freq);
    

    Plot the S-parameters characteristics.

    figure;
    rfplot(S)
    

    sparameters-mdlx.png

    Set up Modelithics SELECT+ Library™ path.

    mdlxSetup('C:\mdlx_library\SELECT')
    

    Create a new Modelithics library object with the Modelithics library set by the mdlxSetup object.

    mdlx = mdlxLibrary;
    

    Search for capacitors mounted on an Alumina10mil substrate.

    search(mdlx,'Alumina10mil',Type='Capacitors')
    

    capacitors_search.png

    Narrow down your search by setting the capacitance to 10 pF and the vendor name to ATC.

    search(mdlx,'Alumina10mil',Type='Capacitors', Value=10e-12, Vendor='ATC')
    

    vendor_value_search.png

    Create an array of mdlxPart that matches the search criteria.

    pobj = search(mdlx,'Alumina10mil',Type='Capacitors', Value=10e-12, Vendor='ATC');
    

    Add the Modelithics component object to a circuit and compute and plot the S-parameters of the circuit.

    freq = linspace(0.05e9,20e9,500);
        for i = 1:length(pobj)
            ckt = circuit('example_circuit');
            add(ckt,[1,2],pobj(i));
            setports(ckt,[1 0],[2 0]);
            Sobj = sparameters(ckt,freq);
            figure;
            rfplot(Sobj)
            title([pobj(i).Vendor ' ' pobj(i).PartNumber ' ' ...
            pobj(i).Type ' = ' num2str(pobj(i).Value) ' on ' ...
            pobj(i).Substrate])
        end
    

    600s.png800b.png

    Input Arguments

    collapse all

    Modelithics® library object, specified as a mdlxLibrary object.

    Name of the substrate in the Modelithics SELECT+ Library, specified as a string or character array.

    Name-Value Arguments

    Specify optional pairs of arguments as Name1=Value1,...,NameN=ValueN, where Name is the argument name and Value is the corresponding value. Name-value arguments must appear after other arguments, but the order of the pairs does not matter.

    Before R2021a, use commas to separate each name and value, and enclose Name in quotes.

    Example: search(mdlx,'Rogers4350B4mil',Vendor='ATC')

    Vendor name of the Modelithics component, specified either as a string or character vector.

    Example: Vendor='ATC'

    Type of passive components, specified as either Capacitors, Inductors, or Resistors.

    Example: Type='Resisitors'

    Value of the passive components, specified as a positive scalar. You can specify the capacitance, inductance, and resistance values in farads, henries, or ohms, respectively. When you do not specify the Value argument, the search function uses the smallest nominal value by default.

    When you specify the Value argument, the search function displays a list of passive components from the installed Modelithics libraries with value less than or equal to the value you specify in the argument.

    When you create the search function with an output argument, pobj, the value of the array of passive components is same as the value you specify in the Value argument. For example. pobj = search(mdlx,'Alumina10mil',Type='Capacitors', Value=10e-12); where,pobj(1).Value = 10e-12;.

    Note

    To search a component by its value, specify the Value argument with the Type argument.

    Example: Type='Capacitors',Value=1e-12

    Since R2023b

    Rated value of the passive components, specified as numeric or logical 1 (true) or 0 (false). When you set this argument to 1, you can search passive elements by the rated value in the installed Modelithics libraries.

    When you specify the IsRatedValue argument, the search function displays a list of passive components in the installed Modelithics libraries with rated value equal to the value you specify in the argument.

    Note

    To search a component by its rated value, specify the IsRatedValue argument with the Type and Value arguments.

    Example: Type='Capacitors',Value=1e-12,IsRatedValue=1

    Output Arguments

    collapse all

    Modelithics component object, returned as an array of mdlxPart object.

    Version History

    Introduced in R2023a

    expand all