search
Description
search(
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 lobj
,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.
Examples
Add Modelithics Component to Circuit
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')
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')
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)
Calculate the S-parameters of the circuit.
S = sparameters(hckt,freq);
Plot the S-parameters characteristics.
figure; rfplot(S)
Search 10 pF Capacitor Mounted on Alumina10mil Substrate
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')
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')
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
Input Arguments
lobj
— Modelithics library object
mdlxLibrary
object
Modelithics® library object, specified as a mdlxLibrary
object.
substrate
— Name of substrate
string | character array
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
— Vendor name
string | character vector
Vendor name of the Modelithics component, specified either as a string or character vector.
Example: Vendor='ATC'
Type
— Type of passive components
Capacitors
| Inductors
| Resistors
Type of passive components, specified as either Capacitors
,
Inductors
, or Resistors
.
Example: Type='Resisitors'
Value
— Value of passive components
positive real scalar
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
IsRatedValue
— Rated value of passive components
false
or 0
(default) | true
or 1
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
pobj
— Modelithics component object
mdlxPart
component
Modelithics component object, returned as an array of mdlxPart
object.
Version History
Introduced in R2023aR2023b: Search Modelithics passive elements by rated value
The search
function now allows you to search Modelithics passive elements by the rated value within installed Modelithics
libraries.
Commande MATLAB
Vous avez cliqué sur un lien qui correspond à cette commande MATLAB :
Pour exécuter la commande, saisissez-la dans la fenêtre de commande de MATLAB. Les navigateurs web ne supportent pas les commandes MATLAB.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)