Matlab not recognize optimproblem and optimvar in Optimization problem

조회 수: 19 (최근 30일)
Trang Le
Trang Le 2018년 7월 31일
답변: Alan Weiss 2018년 8월 6일
Hello all. I am writing an optimization problem using Matlab. However, when I run the code, it says undefined function or variable 'optimproblem'and 'optvar'. I thought this function is already set up in Matlab. What do I need to do to for Matlab to recognize these?
Thank you so much for your help!!!
  댓글 수: 1
Matt J
Matt J 2018년 7월 31일
편집: Matt J 2018년 7월 31일
We need to see copy/pastes of code and error messages. We also need to know what version of Matlab you are running.

댓글을 달려면 로그인하십시오.

답변 (1개)

Alan Weiss
Alan Weiss 2018년 8월 6일
optimproblem and optimvar were introduced in R2017b. If you have an earlier version of MATLAB, these functions are not available.
Alan Weiss
MATLAB mathematical toolbox documentation

카테고리

Help CenterFile Exchange에서 Linear Programming and Mixed-Integer Linear Programming에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by