Matlab optimproblem , optimvar

6 ビュー (過去 30 日間)
NN
NN 2021 年 4 月 26 日
編集済み: Matt J 2021 年 4 月 26 日
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 件のコメント
Image Analyst
Image Analyst 2021 年 4 月 26 日
What toolboxes are those functions in? What toolboxes do you have (type ver in command window)?

サインインしてコメントする。

回答 (1 件)

Matt J
Matt J 2021 年 4 月 26 日
編集済み: Matt J 2021 年 4 月 26 日
It means those functions are not supported by the Matlab Coder. You will have to specify the optimization problem in solver-based form.

カテゴリ

Help Center および File ExchangeCreating and Concatenating Matrices についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by