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!