Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

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

1 visualizzazione (ultimi 30 giorni)
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

Risposte (1)

Angelo
Angelo il 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