Info

この質問は閉じられています。 編集または回答するには再度開いてください。

How to run simulink inside .m file? how to export simulink results in excel?

1 回表示 (過去 30 日間)
Elahe Davarpanah
Elahe Davarpanah 2016 年 2 月 24 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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

回答 (1 件)

Angelo
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

Community Treasure Hunt

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

Start Hunting!

Translated by