Record & Inspect simulation output

1 回表示 (過去 30 日間)
Fidele Lanchery Damba-Ngolo
Fidele Lanchery Damba-Ngolo 2016 年 10 月 28 日
回答済み: Vishwas Bharadwaj 2016 年 11 月 1 日
I'm doing a mass spring damper analysis. Then I wanted to record xd and x values to see how they change in simulator data inspector, but I did not see the"log/unlog selected signals" tab in Record and inspect simulation output

回答 (1 件)

Vishwas Bharadwaj
Vishwas Bharadwaj 2016 年 11 月 1 日
Based on the description, I assume that the 'Log/Unlog selected signals' tab is grayed out and hence you are unable to see it.
To use the Simulation Data Inspector, you need to:
  1. First enable 'Signal Logging' in the Simulink Configuration Parameters
  2. Then label the signal you wish to log by double clicking and typing a name
  3. Click on 'Log/Unlog selected signals' tab in 'Record and Inspect Simulation Output'
Another way to log the signal is to right click on the signal and select 'Properties'. In the Signal Properties dialog that appears, select 'Log signal data'. Press OK and close the Signal Properties dialog.
For further information about Simulation Data Inspector, you can refer to the documentation by executing the following commands in MATLAB Command Window:
web(fullfile(docroot, 'simulink/ug/simulation-data-inspector-overview.html'))
web(fullfile(docroot, 'simulink/ug/customize-the-simulation-data-inspector-interface.html#bsof7or'))
Hope this helps!

カテゴリ

Help Center および File ExchangeSources についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by