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

조회 수: 3 (최근 30일)
Bent Feng
Bent Feng 2018년 8월 31일
답변: TAB 2018년 8월 31일
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에서 Save Run-Time Data from Simulation에 대해 자세히 알아보기

태그

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by