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 个评论
LAKSHMI NARAYAN 17PHD0083
编辑:LAKSHMI NARAYAN 17PHD0083 2020-5-7
Please sugest me a detailed steps to interface SImulink and modefrontier.
Baran Celilkten
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
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 CenterFile Exchange 中查找有关 Simulink Functions 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by