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 CenterFile Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by