Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

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

1 Ansicht (letzte 30 Tage)
Elahe Davarpanah
Elahe Davarpanah am 24 Feb. 2016
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
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

Antworten (1)

Angelo
Angelo am 24 Feb. 2016
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