why do I get error for Undefining function sdpvar and how can I solve it?
12 views (last 30 days)
Show older comments
I got an error saying:
Undefined function 'sdpvar' for input arguments of type 'double'.
Error in Untitled3 (line 1)
A=sdpvar(3,1); Tc=sdpvar(2,1); Tout=sdpvar(3,1); gam=1e5;
for the following code:

Answers (1)
Cris LaPierre
on 12 Apr 2022
This is not a MathWorks supplied toolbox, so you will need to follow the intructions given to you to install and use this toolbox.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!