Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

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

1 vue (au cours des 30 derniers jours)
Elahe Davarpanah
Elahe Davarpanah le 24 Fév 2016
Clôturé : MATLAB Answer Bot le 20 Août 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

Réponses (1)

Angelo
Angelo le 24 Fév 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