How to solve the following error, "Check for incorrect argument data type or missing argument in call to function 'sdpvar'." #1366
-
Hello, sir. When I implemented the following code, I got the error in title. %model Setup Bw = [0 pi/36 0 0]' ; %LMI Setup %LMI Descripstion LMI = [ LMI, [ X Bw ; Bw' 1 ] >=0, [ X Y' ; Y 1.2^2 ] >=0 ]; %SDP Solution Error in sf_H2IP (line 15) Where do I have to correct in the code? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Your function sdpvar cannot be a correctly installed version of YALMIPs sdpvar since it crashes in that very basic command Hence, which -all sdpvar will probably reveal that sdpvar is something else than YALMIPs sdpvar, so a correct clean (re)installation is likely the way to go |
Beta Was this translation helpful? Give feedback.
Your function sdpvar cannot be a correctly installed version of YALMIPs sdpvar since it crashes in that very basic command
Hence, which -all sdpvar will probably reveal that sdpvar is something else than YALMIPs sdpvar, so a correct clean (re)installation is likely the way to go