How can I find every variable in my model and list the path of each block that uses the variables in Simulink?

6 views (last 30 days)
I am working backward and trying to understand the construction of a model. The model contains many variables in the workspace, and I would like to be able to list all of the variables in a single report file and see how they are being used. For example, if the variable is a parameter to a block, I would like Simulink to provide all the paths to the blocks where the variable is used.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 16 Jul 2010
This enhancement has been incorporated in Release 2010a (R2010a). For previous product releases, read below for any possible workarounds:
The ability to search and list all the variables in a model and how they are being used in one single report file is not available in Simulink.
To work around this issue, you can use the Model Explorer to search for a particular property or variable name individually. To learn more about the search bar functionality of the Model Explorer, refer to the documentation accessible by typing the following command:
web([docroot,'/toolbox/simulink/ug/browse_explore8.html'])

More Answers (0)

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!