Trying to view/display an optimization problem(lmi)

조회 수: 2 (최근 30일)
Param Budhraja
Param Budhraja 2020년 7월 20일
댓글: Alan Weiss 2020년 7월 21일
I am using EHCM toolbox and trying to understand EHCMDemoFile.m (which is attached). I am trying to view/display the optimization problem it generates. I tried using show and write but for both the cases I get the error "Undefined function 'write' for input arguments of type 'lmi'." (for constraints) "Undefined function 'write' for input arguments of type 'sdpvar'."(for objective function)

답변 (1개)

Alan Weiss
Alan Weiss 2020년 7월 20일
I know nothing about EHCM toolbox. But it is apparent that the toolbox does not use the problem-based approach. The functions show and write are based on the problem-based approach. Sorry, you'll have to use other MATLAB constructs to examine the functions and data in the problem.
Alan Weiss
MATLAB mathematical toolbox documentation
  댓글 수: 2
Param Budhraja
Param Budhraja 2020년 7월 21일
Can you point me towards the part of documentation that contains the related topics?
Alan Weiss
Alan Weiss 2020년 7월 21일
Sorry, I'm not sure how to answer you. How do you examine anything in MATLAB? For function files, edit functionfilename allows you to view (and edit) the file. Double-click anything in the Workspace view and you get a detailed view.
Alan Weiss
MATLAB mathematical toolbox documentation

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

Community Treasure Hunt

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

Start Hunting!

Translated by