modelfinder.searchFilter
Description
creates a
MFfilter
= modelfinder.searchFilterModelFinderFilter
object MFfilter
. You can use the
MFfilter
object to narrow down the database search results for
examples, models, and projects using the modelfinder
function.
creates a MFfilter
= modelfinder.searchFilter(Name=Value
)ModelFinderFilter
object MFfilter
using one or more
name-value arguments. For example, create a search filter object for specific block types
and MathWorks® products. Then, perform a search using a combination of the search term and
the filter object with the modelfinder
function.
Examples
Search for examples and models using a search term, and narrow down the search results by specifying block types and MathWorks product names.
Create a ModelFinderFilter
object with specific Simulink® blocks and MathWorks product names.
blockList = ["ConstellationDiagram",... "Rectangular QAM Modulator Baseband"]; productList = ["Communications","5G","Wireless","Satellite"]; mfFilter = modelfinder.searchFilter(block=blockList,product=productList)
mfFilter = ModelFinderFilter with properties: match: [0×0 string] product: ["Communications" "5G" "Wireless" "Satellite"] location: [0×0 string] block: ["ConstellationDiagram" "Rectangular QAM Modulator Baseband"] reference: [0×0 string]
Search for models using a search term and a filter object.
modelfinder("modulation",filters=mfFilter)
modelfinder
matches the search term with all the metadata of the examples and models indexed with the MathWorks Examples
database and narrows down the results using the specified blocks and product names:
1. Add Saleh Model of Power Amplifier to 16-QAM Signal in Simulink > cm_mnl_saleh_16qam 2. Apply Phase/Frequency Offset to QAM Modulated Signal > cm_poff_foff_imp_qam 3. Effect of Nonlinear Amplifier on 16-QAM Modulation > amp_qam16 4. Passband Modulation > commpassbandmod 5. Add RF Impairments to DQPSK Signal > slex_rcvrimpairments_dqpsk 6. cdma2000 Physical Layer in Simulink > cdma2000SimulinkExample 7. ATSC Digital Television > commatsc 8. Apply Complex Phase Shift to QPSK Signal > cm_complex_phase_shift_qpsk 9. Defense Communications: US MIL-STD-188-110A Receiver > commmilstd188110a 10. Digital Video Broadcasting - Cable (DVB-C) in Simulink 11. > commdvbc 12. > commdvbc_fixpt 13. Measure EVM and MER Using Simulink > doc_mer_and_evm 14. Examine 256-QAM Using Simulink > cm_commphasenoise 15. Executable Specification for System Design 16. > rfb_receiver_0 17. > rfb_receiver_1 18. Manchester Receiver Using Communications Toolbox > manchestermodelcommblks 19. Plot M-PAM Constellation in Simulink > doc_mpam_mod 20. Plot Noisy 16-APSK Constellation > slex_16apsk_mod Showing 1-20 of 24 matches. Enter (m) for more results. Enter the example number you want to open (choose number) OR see more results (m) OR quit (q) Selection:
Modify the filter object to match the search term with only the names of examples and models indexed in the database.
mfFilter.match = "name"
mfFilter = ModelFinderFilter with properties: match: "name" product: ["Communications" "5G" "Wireless" "Satellite"] location: [0×0 string] block: ["ConstellationDiagram" "Rectangular QAM Modulator Baseband"] reference: [0×0 string]
Search for models using a search term and the modified filter object.
modelfinder("modulation",filters=mfFilter)
modelfinder
matches the search term with only the names of the examples and models indexed with the MathWorks Examples
database and narrows down the results by using the specified blocks and product names:
1. Effect of Nonlinear Amplifier on 16-QAM Modulation > amp_qam16 2. Passband Modulation > commpassbandmod Enter the example number you want to open (choose number) OR quit (q):
Running the same query may produce different results depending on the database version.
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.
Example: modelfinder.searchFilter(block="gain",product=["communications","5G"])
creates a ModelFinderFilter
object to use to filter database search results
to include Gain blocks and the MathWorks products Communications Toolbox and 5G Toolbox.
Names or types of blocks in a model, specified as a string scalar or character vector for a single block, or a string array or cell array of character vectors for multiple blocks.
Example: block="gain"
Example: block=["Unit Delay","Mux","Ramp"]
Data Types: string
| char
| cell
Names of the MathWorks products used by the examples, models, or projects, specified as a
string scalar or character vector for a single product, or a string array or cell
array of character vectors for multiple products. For a list of MathWorks products, see Products and Services. Product names are case-insensitive and include the
variations of the name you enter. For example, product="Simscape"
includes the MathWorks products Simscape, Simscape Battery, Simscape Drivelines, and
others.
Example: product="Parallel Computing"
Data Types: string
| char
| cell
Relative paths to the models or projects that are indexed with an active Model Finder database, specified as a string scalar, character vector, string array, or cell array of character vectors.
Example: location="communication/6g/"
Data Types: string
| char
| cell
Names of external files that are referenced in a model or example, specified as a string scalar, character vector, string array, or cell array of character vectors.
Example: reference="mdl_dd"
Data Types: string
| char
| cell
Metadata of the examples and models indexed in databases where search term is
matched, specified as a string scalar or character vector for a single location, or a
string array or cell array of character vectors for multiple locations. The metadata
includes model names, example names, model paths, description, annotation, block
names, block types, MathWorks products, and referenced files. By default, Model Finder matches a
search term with all of the metadata information. You can set the
match
argument to match a search term with only the names,
annotations, or descriptions of models and example.
Example: match="name"
Data Types: string
| char
| cell
Version History
Introduced in R2025a
See Also
Functions
Objects
Tools
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
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)