modelfinder
Description
modelfinder( displays a numbered
list of examples, models, and projects available in the databases that match the search term
and prompts you to enter a corresponding number to open any search result. Other options in
the prompt include searchTerm)q to quit and m to see more
results. Search results that appear indented and prefixed with > are
Simulink® models that are a part of an example or project.
Model Finder supports keyword-based searches and natural language queries. When you enter a search term, Model Finder matches your search term with the metadata of the examples and models indexed in the databases selected for searching. The metadata includes model names, example names, model paths, description, annotation, block names, block types, MathWorks® products, and referenced files.
By default, modelfinder searches the MathWorks Examples database. For information on setting search databases
with Model Finder, see modelfinder.setDatabaseForSearch.
modelfinder(___, specifies
search options using one or more name-value arguments in addition to the input argument in
the previous syntax. For example, set Name=Value)filters to the name of a ModelFinderFilter object to narrow down searches based on parameters such as
model locations, block types, or MathWorks products.
Examples
Search for examples and models in the search databases using the search term
autosar.
modelfinder("autosar")modelfinder matches the search term with the metadata indexed
in the MathWorks Examples database and displays a numbered list of examples
with their supporting models prefixed with > and indented:
1. Set AUTOSAR Mapping Information for Simulink® Data Transfer Line
> autosar_swc_expfcns
2. Get AUTOSAR Mapping Information for Simulink® Data Transfer Line
> autosar_swc_expfcns
3. Programmatically Configure AUTOSAR Software Component
> autosar_swc_expfcns
4. Generate AUTOSAR C Code and XML Descriptions
> autosar_swc
5. Programmatically Configure AUTOSAR Sender-Receiver Communication
> autosar_swc_expfcns
6. Model AUTOSAR Runnables Using Exported Functions
> autosar_swc_expfcns
7. Programmatically Configure AUTOSAR Nonvolatile Communication
> autosar_swc_expfcns
8. > autosar_tpc_controller
9. Author AUTOSAR Compositions and Components in Architecture Model
10. Link AUTOSAR Components to Requirements
11. Load AUTOSAR Architecture Model
12. > autosar_tpc_actuator
13. > autosar_tpc_pedal_sensor
14. > autosar_tpc_composition
15. > autosar_tpc_throttle_sensor1
16. > autosar_tpc_throttle_sensor2
17. > autosar_tpc_throttle_sensor_monitor
18. > autosar_tpc_system
19. Configure AUTOSAR Sender-Receiver Port Communication Specification Attributes
> autosar_swc
20. Create and Configure AUTOSAR Software Component
Showing 1-20 of 436 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: Running the same query can produce different results depending on the
MathWorks Examples database version.
Search for examples and models in the search databases using the search term
solar panel models in simulink.
modelfinder("solar panel models in simulink")modelfinder searches the MathWorks Examples database using natural language query and displays a
numbered list of examples with their supporting models indented prefixed with
> and indented:
1. Photovoltaic Thermal (PV/T) Hybrid Solar Panel
> sscv_hybrid_solar_panel
2. Solar Panel Parameterization Validation
> SolarPanelValidation
3. Model Articulating Spacecraft Solar Panels for Sun-Tracking
> ModelArticulatingSpacecraftSolarPanelsforSunTrackingExample
4. Three-Phase Grid-Connected Solar Photovoltaic System
> GridConnectedPV
5. Single-Phase Grid-Connected Solar Photovoltaic System
> SinglePhaseGridSolarPV
6. Peak Shaving with Battery Energy Storage System
> sscv_peak_shaving
7. Microgrid Planned Islanding from Main Grid
> MicrogridPlannedIslanding
8. Microgrid Resynchronization with Main Grid
> MicrogridResynchronization
9. Stand-Alone Solar PV AC Power System with Battery Backup
> SolarPVACWithBattery
10. Stand-Alone Solar PV DC Power System with Battery Backup
> SolarPVDCWithBattery
11. DC Fast Charging Station for Electric Vehicles with Solar Cogeneration
> DCFastChargingStation
12. Solar PV System with MPPT Using Boost Converter
> SolarPVMPPTBoost
13. Solar PV System with Maximum Power Point Tracking Using Extremum Seeking Control
> ESCSolarPVMPPT
14. Using the Worm and Gear Constraint Block - Solar Tracker
> WormAndGearConstraint
15. Photovoltaic Generator
> PhotovoltaicGenerator
16. Mars Helicopter Simulink-Based System Level Design
> marsHelicopter
17. Mars Helicopter System-Level Design
> MarsHelicopterDesign
18. Solar Power Inverter
> SolarPowerInverter
19. Analysis of Solar Photovoltaic System Shading
> PhotovoltaicShading
20. Solar Cell Power Curve
> SolarCellPowerCurve
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.
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. Passband Modulation
> commpassbandmod
2. Effect of Nonlinear Amplifier on 16-QAM Modulation
> amp_qam16
3. Apply Phase/Frequency Offset to QAM Modulated Signal
> cm_poff_foff_imp_qam
4. Add Saleh Model of Power Amplifier to 16-QAM Signal in Simulink
> cm_mnl_saleh_16qam
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. Measure EVM and MER Using Simulink
> doc_mer_and_evm
10. Examine 256-QAM Using Simulink
> cm_commphasenoise
11. Plot M-PAM Constellation in Simulink
> doc_mpam_mod
12. Plot Noisy 16-APSK Constellation
> slex_16apsk_mod
13. Plot Noisy QPSK Constellation
> doc_qpsk_mod
14. Soft Decision GMSK Demodulator
> GMSKSoftDecision
15. Manchester Receiver Using Communications Toolbox
> manchestermodelcommblks
16. Defense Communications: US MIL-STD-188-110A Receiver
> commmilstd188110a
17. Digital Video Broadcasting - Cable (DVB-C) in Simulink
18. Plot Noisy MIL-STD-188 QAM Constellation
> cm_ex_mil188_qam_mod
19. WCDMA Link-Level Physical Layer
> commwcdmaspreadandmod
20. Executable Specification for System Design
21. > commdvbc
22. > commdvbc_fixpt
23. > rfb_receiver_0
24. > rfb_receiver_1
Enter the example number you want to open (choose number) OR quit (q) : 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. Passband Modulation
> commpassbandmod
2. Effect of Nonlinear Amplifier on 16-QAM Modulation
> amp_qam16
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.
When you use the modelfinder function to search,
the results are displayed by default as a numbered list of examples with their supporting
models indented and prefixed with >. To view the search results as a
list of models, set the name-value argument view to
"Models".
modelfinder("autosar",view="Models")
1. autosar_swc_expfcns 2. autosar_swc 3. autosar_tpc_controller 4. autosar_tpc_actuator 5. autosar_tpc_pedal_sensor 6. autosar_tpc_composition 7. autosar_tpc_throttle_sensor1 8. autosar_tpc_throttle_sensor2 9. autosar_tpc_throttle_sensor_monitor 10. autosar_LaneGuidance 11. autosar_swc_counter 12. autosar_component 13. autosar_subcomponent 14. autosar_tpc_system 15. autosar_bsw_monitor 16. autosar_composition 17. mcb_AUTOSAR_System 18. autosar_bsw_inject_test 19. mcb_AUTOSAR 20. autosar_bsw_inject Showing 1-20 of 364 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:
Running the same query may produce different results depending on the database version.
Input Arguments
Search string to find examples, models, and projects in selected databases, specified as a string scalar or character vector. Searches are case-insensitive and disregards special characters. Model Finder matches the search string with the metadata of the examples and models indexed in the databases selected for searching. The metadata includes model names, example names, model paths, description, annotation, block names, block types, MathWorks products, and referenced files.
Example: "autosar"
Example: "pmsm models using discrete pulse
generator"
Data Types: string | char
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("modulation",filters=mfFilter,verbose="on")
searches for models containing the search term modulation and narrows
down the search results by using a ModelFinderFilter object mfFilter. With the
verbose name-value argument set to "on", it also
displays additional information related to the search results.
Filters used to narrow down the search results based on MathWorks product names, model locations, block types, or external referenced
files, specified as a ModelFinderFilter object. To create a
ModelFinderFilter object, see ModelFinderFilter.
Example: filters=mfFilter
Option to customize the search results layout, specified as one of these values:
"Categorized"— Display search results as a numbered list of examples and models. Simulink models that are a part of an example or project appear indented and prefixed with>."Models"— Display search results as a numbered list of models. The search results include independent models and models that are referenced by examples and projects.
Example: view="Models"
Data Types: string | char
Option to display additional information related to the search results, specified as one of these values:
"off"— Display only the names of the matched examples, models, and projects."on"— Display the names of the matched examples, models, and projects with these additional details:Source — Example name.
Matched in — Metadata of examples and models that matches the search terms. The metadata includes model names, example names, model paths, description, annotation, block names, block types, MathWorks products, and referenced files.
Matched text — Matching search terms.
Example: verbose="on"
Number of search results displayed per page, specified as a numeric scalar.
Example: resultsPerPage=5
Data Types: double
Alternatives
You can search databases by using the Model Finder user interface. For more information, see Model Finder.
Version History
Introduced in R2022aNarrow down the search results based on several parameters, such as the MathWorks product names, model locations, block types, and referenced files by using a
ModelFinderFilter object.
Customize the search results layout to display the results either as a list of examples with their supporting models or a list of models alone.
Filtering search results using name-value argument blocks is not
supported. Use the filters
name-value argument instead.
In addition to the MathWorks database of examples and models, you can add additional search databases to
Model Finder using the modelfinder.setDatabaseForSearch function and search for models in these
databases.
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.
Seleziona un sito web
Seleziona un sito web per visualizzare contenuto tradotto dove disponibile e vedere eventi e offerte locali. In base alla tua area geografica, ti consigliamo di selezionare: .
Puoi anche selezionare un sito web dal seguente elenco:
Come ottenere le migliori prestazioni del sito
Per ottenere le migliori prestazioni del sito, seleziona il sito cinese (in cinese o in inglese). I siti MathWorks per gli altri paesi non sono ottimizzati per essere visitati dalla tua area geografica.
Americhe
- América Latina (Español)
- Canada (English)
- United States (English)
Europa
- 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)