how to call specific m file from simulink?
1 次查看(过去 30 天)
显示 更早的评论
helloo.. i have two m file that want to run....for certain condition just one of the m file was need to run and vices versa... for example i f i push a button one mfile was and if not another m file was run..
采纳的回答
Walter Roberson
2016-10-16
You can use the button with an IF block, or with a switch, or with a triggering subsystem, or you could use it with a MATLAB Function Block that examined the value to determine what to call.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulink Functions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!