MATLAB Answers

0

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

Bent Feng 님이 질문을 제출함. 31 Aug 2018
최근 활동 TAB 님이 답변함. 31 Aug 2018
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.

  댓글 수: 0

로그인 to comment.

태그

제품


릴리스

R2018a

답변 수: 1

TAB 님의 답변 31 Aug 2018

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.

  댓글 수: 0

로그인 to comment.



Translated by