How do I run fmincon within SIMULINK

I'm working on putting some functions of code from MATLAB script into SIMULINK. The code is running a POMDP algorithm, and requires fmincon to run the optimization process. I've not figured out a way to make this work in SIMULINK. Thanks!

Answers (1)

Azzi Abdelmalek
Azzi Abdelmalek on 17 Apr 2016
Edited: Azzi Abdelmalek on 17 Apr 2016

3 Comments

I couldn't get it to run fmincon
Have you any error message? in your function add
coder.extrinsic('fmincon')
Hi,
how can I use it? could you assist me more?

Sign in to comment.

Categories

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

Asked:

on 17 Apr 2016

Commented:

on 26 Sep 2022

Community Treasure Hunt

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

Start Hunting!