Info

This question is closed. Reopen it to edit or answer.

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

1 view (last 30 days)
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

Answers (1)

Angelo
Angelo on 24 Feb 2016
Hello,
check on help these topics:
set_param(bdroot, 'SimulationCommand', 'Start');
set_param(bdroot, 'SimulationCommand', 'Stop');
xlswrite(filename,A);
Regards
angelo

This question is closed.

Community Treasure Hunt

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

Start Hunting!