How can i export data from simulink to workspace?

45 ビュー (過去 30 日間)
yasin gedik
yasin gedik 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 日
There are several ways in which you can export your Simulation data to Matlab workspace.
Refer to this documentation: Export Simulation Data


Find more on Aerospace Applications in Help Center and File Exchange


Community Treasure Hunt

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

Start Hunting!

Translated by