Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

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

조회 수: 1 (최근 30일)
Elahe Davarpanah
Elahe Davarpanah 2016년 2월 24일
마감: MATLAB Answer Bot 2021년 8월 20일
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

답변 (1개)

Angelo
Angelo 2016년 2월 24일
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