필터 지우기
필터 지우기

How to Retreive All Time Data

조회 수: 2 (최근 30일)
Dieter
Dieter 2024년 4월 24일
댓글: Mathieu NOE 2024년 4월 30일
When I run my simulink model, I generate a table in the workspace in a script that is run after simulation. This script gets the time from the output of the simulation as Time=out.tout. I can also get the data by exporting it from the simulation data inspector. When I use the simulation data inspector I get more time points that I do when I use the out.tout data method.
I would like to get the data in the simulation output to use when I generate the table in the workspace as it has more data of interest on and around some step changes in the simulation. How do I get non-truncated data without saving from the simulation data inspector? I would like to automate this and get it in workspace as the simulation will run many times and I use the workspace table to generate charts for each trial run.
  댓글 수: 2
Mathieu NOE
Mathieu NOE 2024년 4월 26일
hello
when you say "out.tout data method" you mean you have a "To Workspace" block (or something equivalent)
double check in the options window that you are not limited to a certain amount of samples , other wise you may retrieve only the last N samples (if the limit is set to N)
Mathieu NOE
Mathieu NOE 2024년 4월 30일
hello again
probelm solved ?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink에 대해 자세히 알아보기

제품


릴리스

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by