Trigger mode and time range setting support in Simulation data inspector?

2 次查看(过去 30 天)
Hello all: my release is 2018a. when I use simulation data inspector to log and compare simulation data, I found It start automatically when simulation starts. In many scenes the simulation will last for very long time, maybe several hours or one day, espceically in real time simulation based on Speedgoat. so I want to find the functions, that SDI can be triggerred to start and stop, or the log time range can be setted manually. Can SDI support it or any roadmap? Thank you very much.

回答(1 个)

TAB
TAB 2018-8-31
There are several options to solve your problem. Carefully check the setting in Model Configuration Parameters: Data Import/Export Pane
  1. I want to find the functions, that SDI can be triggerred to start and stop
You can stop the streaming of SDI and just log the data into workspace from the configuration settings. After the Simulation is finished, import data into SDI manually. Or use this option to record data in SDI automatically when simulation is finished or paused.
or the log time range can be setted manually
In "Save options" at the end of the pane select "Save simulation output as single object" and define time range in "Logging intervals". With this Simulink will log data for that interval only.

类别

Help CenterFile Exchange 中查找有关 Data Logging 的更多信息

标签

产品


版本

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by