Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

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

1 visualización (últimos 30 días)
Elahe Davarpanah
Elahe Davarpanah el 24 de Feb. de 2016
Cerrada: MATLAB Answer Bot el 20 de Ag. de 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

Respuestas (1)

Angelo
Angelo el 24 de Feb. de 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