필터 지우기
필터 지우기

YALMIP polytope: Undefined function 'isinf' for input arguments of type 'sdpvar'.

조회 수: 3 (최근 30일)
Thomas
Thomas 2023년 3월 23일
댓글: Johan Löfberg 2023년 4월 29일
I was running the example from https://yalmip.github.io/command/polytope/
which is
v = randn(2,10);
x = sdpvar(2,1);
P = polytope(v,x)
and I got the error
Undefined function 'isinf' for input arguments of type 'sdpvar'.
Error in polytope (line 24)
idx = isinf(arg2);
I think it is because there is a (standard) polytope function to create polytopes Ax <= b, but I want to use the polytope function from YALMIP which creates polytopes from a set of vertices. How can I make my script choose the "right" polytope function?

답변 (1개)

Sachin
Sachin 2023년 3월 23일
Hi
I understand that you are getting the error ‘undefined function ‘isinf’ for input arguments of type ‘sdpvar’’.
A possible workaround would be to reinstall YALMIP.
Refer to the following page to install YALMIP :

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by