Is there any way to get a list of variables required for simulating a Simulink model?

23 ビュー (過去 30 日間)
I want to get a list of variables needed to run a Simulink simulation, for documentation purposes.

採用された回答

Jyotish Robin
Jyotish Robin 2017 年 3 月 27 日
編集済み: Jyotish Robin 2017 年 3 月 28 日
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 件のコメント
Jyotish Robin
Jyotish Robin 2017 年 3 月 30 日
Maybe you could take a look at Simulink.findVars functionality. The following link takes you there:

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Find more on Simulink Environment Customization 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!

Translated by