Info
此问题已关闭。 请重新打开它进行编辑或回答。
How to run simulink inside .m file? how to export simulink results in excel?
1 次查看(过去 30 天)
显示 更早的评论
I need to run simulink file from a m.file and then after I should export the results in excel, can you pls help me
0 个评论
回答(1 个)
Angelo
2016-2-24
Hello,
check on help these topics:
set_param(bdroot, 'SimulationCommand', 'Start');
set_param(bdroot, 'SimulationCommand', 'Stop');
xlswrite(filename,A);
Regards
angelo
0 个评论
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!