How can i export data from simulink to workspace?

조회 수: 7 (최근 30일)
piston_pim_offset
piston_pim_offset 2021년 4월 1일
답변: Reshma Nerella 2021년 4월 4일
I have designed a basic model on simulink with using " To workspace" block. When i run it, only something named SimulationOutput appears where my data is in. How can i export my data directly to the work space?
  댓글 수: 2
Mathieu NOE
Mathieu NOE 2021년 4월 2일
this is a structure - to access each individual components (whatever their dimensions are) , do like this :
t = out.simout.Time;
data = out.simout.Data;

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

답변 (1개)

Reshma Nerella
Reshma Nerella 2021년 4월 4일
Hi,
There are several ways in which you can export your Simulation data to Matlab workspace.
Refer to this documentation: Export Simulation Data

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by