How to connect Simulink model to modefrontier.
11 次查看(过去 30 天)
显示 更早的评论
I have problem in connecting the modefrontier to simulink
The modefrontier have the direct interface with the matlab script. but I've my model in simulink. So, I'm in need to connect modefrontier to Simulink model.
Please suggest a method/way to resolve this
2 个评论
Baran Celilkten
2020-8-12
you can call simulink run in matlab script "sim('yourSimulinkModel.slx')" and you can feedback the outouts from simualink to matlab with ToWorkspace block.
So you can connect .m file with modefrontier and change variables on there or look to objectives.
回答(1 个)
Ameer Hamza
2020-5-6
I have never used modefrontier. However, you can use the MATLAB function block: https://www.mathworks.com/help/releases/R2020a/simulink/slref/matlabfunction.html to run MATLAB's code in Simulink too.
另请参阅
类别
在 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!