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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Import from MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!