Is there any way to get a list of variables required for simulating a Simulink model?
10 views (last 30 days)
Show older comments
Damon Delorenzis
on 22 Mar 2017
Commented: Jyotish Robin
on 30 Mar 2017
I want to get a list of variables needed to run a Simulink simulation, for documentation purposes.
0 Comments
Accepted Answer
Jyotish Robin
on 27 Mar 2017
Edited: Jyotish Robin
on 28 Mar 2017
Hi Damon!
What you are looking for is 'Model Explorer'.
You can use the Model Explorer to view, modify, and add elements of Simulink® models and workspace variables. In the Model Explorer, you can get a list of variables that a model or block uses.
The Model Explorer lets you focus on specific elements (for example, blocks, signals, and properties) without navigating through the model or chart.
Take a look at the following link to know more about 'Model Explorer':
The below link specifically talks about 'finding variables used by model':
Hope the above suggestions help :)
2 Comments
Jyotish Robin
on 30 Mar 2017
Maybe you could take a look at Simulink.findVars functionality. The following link takes you there:
Also, the following video link may be useful: https://www.mathworks.com/videos/find-variables-used-by-a-simulink-model-68937.html
More Answers (0)
See Also
Categories
Find more on Event Functions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!