Record & Inspect simulation output

3 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Analyze Simulation Results 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by