How to use an optimization algorithm developed in YALMIP in a function block in simulink ?

I have developed an optimisation algorithm in a .m file using the YALMIP toolbox in MATLAB.
Now I need to use it in a Simulink model to run simulations under disturbances.
I tried using the MATLAB function block in Simulink but seems that it is not supported.
If so what type of a function block should I try?
The function contains multiple input and multiple outputs.

Answers (0)

Categories

Find more on Simulink Design Optimization in Help Center and File Exchange

Products

Release

R2019a

Asked:

on 4 Mar 2020

Commented:

on 25 Jan 2021

Community Treasure Hunt

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

Start Hunting!