Matlab optimproblem , optimvar

Hi,
I am getting errors like this, when I use optimproblem and optimvar.
Function 'optimproblem' not supported for code generation.
Function 'optimvar' not supported for code generation.
What could be the reason? Please please help.

1 Kommentar

Image Analyst
Image Analyst am 26 Apr. 2021
What toolboxes are those functions in? What toolboxes do you have (type ver in command window)?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Matt J
Matt J am 26 Apr. 2021
Bearbeitet: Matt J am 26 Apr. 2021

0 Stimmen

It means those functions are not supported by the Matlab Coder. You will have to specify the optimization problem in solver-based form.

Kategorien

Mehr zu MATLAB Coder finden Sie in Hilfe-Center und File Exchange

Gefragt:

NN
am 26 Apr. 2021

Bearbeitet:

am 26 Apr. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by