Connecting simulink with m file
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi .. I want to connect my simulink model with the m-file to put the m file in another program.. how would I do that?? any suggestion??
Regards
답변 (1개)
Walter Roberson
2015년 11월 13일
It is not clear what assistance you would like?
Also, when you say you want to put it into another program, are you referring to compiling the code?
댓글 수: 2
Walter Roberson
2015년 11월 13일
call open_system() to load the model. call set_param() if you need to change parameters. Call sim() to run the model.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!