Simulink - automatic export to excel after simulation

2 次查看(过去 30 天)
How to export Timeseries like this http://i.imgur.com/rorSiT5.png automaticaly after simulation. I know how to export it manualy but how to do this without exporting or writing codes to matlab.
I think i need to use Callbacks and StopFcn combined with xlswrite .. for example in StopFcn will be this..
filename = 'testdata.xlsx';
A = [12.7, 5.02, -98, 63.9, 0, -.2, 56];
xlswrite(filename,A)
i know its right, but what will be the " A = " in my case. Thank you.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Import from MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by