how do i access signal logging data

i dont mean view the data in data viewer, i mean evaluate signals in a script?

답변 (1개)

Azzi Abdelmalek
Azzi Abdelmalek 2016년 4월 22일

0 개 추천

Use to workspace block

댓글 수: 2

alan chewter
alan chewter 2016년 4월 23일
a to workspace block is the original method to export signals individually to the workspace from the simulation. this is not my question. my question more specifically is how do i get data out of a class known as "Simulink.SimulationData.Dataset"
then you can read your selected data
h1=logsout.get(1) % for the first selected signnal
% the variable name is set by default, you can change it in parameter configuration
data1=h1.Values.Data
and so on

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

카테고리

도움말 센터File Exchange에서 Analyze Simulation Results에 대해 자세히 알아보기

태그

질문:

2016년 4월 22일

댓글:

2016년 4월 23일

Community Treasure Hunt

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

Start Hunting!

Translated by