How to connect Simulink model to modefrontier.

8 views (last 30 days)
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 Comments
LAKSHMI NARAYAN 17PHD0083
Edited: LAKSHMI NARAYAN 17PHD0083 on 7 May 2020
Please sugest me a detailed steps to interface SImulink and modefrontier.
Baran Celilkten
Baran Celilkten on 12 Aug 2020
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.

Sign in to comment.

Answers (1)

Ameer Hamza
Ameer Hamza on 6 May 2020
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.

Categories

Find more on Simulink Functions in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!