- Model contents without loading the models into memory. On the MATLAB Home tab, in the File section, click Find Files. You can search a folder or the entire path. However, you cannot highlight results in models from the results in the Find Files dialog box the same way you do with project search. See Advanced Search for Files (MATLAB).
- A model hierarchy. In the Simulink Editor, on the Modeling tab, click Find. Select options to look inside masks, links, and references. This search loads the models into memory. See Model Explorer
- For variables, block parameter values, or search a model hierarchy and contents using more options, using the Model Explorer. This search loads the models into memory. Use the Model Explorer to search for variables in workspaces and data dictionaries, and variable usage in a model. See Edit and Manage Workspace Variables by Using Model Explorer
How to search for where a function is used in Simulink Model
12 次查看(过去 30 天)
显示 更早的评论
I wanted to know if there was a way to identify all places that a function was being called inside of a simulink model. I have a simulink model with several matlab function blocks. Is there a way to search for all places within the simulink model that call a specific function whether it be inside a matlab function block or the matlab function block itself.
Thanks
1 个评论
Larry Deng
2020-9-8
https://www.mathworks.com/help/simulink/ug/search-and-filter-file-views.html
You can also search:
回答(1 个)
Priyanshu Mishra
2020-5-18
Hi Michael,
Which item displays the full path of the item. If item is a MATLAB function in a Simulink model, then which displays the full path for corresponding file. For information, follow the documentation of which.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Interactive Model Editing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!