Yalmip error : undefined function sdpvar
Show older comments
Hello I have installed yalmip. Then i checked that it works through writing yalmip in the command window , and it gives : yalmip yalmip Returns various information about yalmip
yalmip can be used to check version numbers and
find the SDPVAR and SET objects available in workspace
EXAMPLES
V = yalmip('version') % Returns version
yalmip('nvars') % Returns total number of declared variables
yalmip('info') % Display basic info.
yalmip('solver','tag') % Sets the solver 'solvertag' (see sdpsettings) as default solver
If you want information on how to use yalmip, you are advised to check out
http://users.isy.liu.se/johanl/yalmip/
See also YALMIPTEST, YALMIPDEMO
now when i try to define an sdpvar it gives an error message: undefined function sdpvar. how can i solve this please ? Thanks in advance
Accepted Answer
More Answers (2)
Sana Ben Hmouda
on 11 Aug 2016
Edited: Sana Ben Hmouda
on 11 Aug 2016
0 votes
Waseem Abbasi
on 24 Jun 2019
Edited: Waseem Abbasi
on 24 Jun 2019
0 votes
dear i face the problem that when i used set command, the following error come:
SET has been considered obsolete for many years, and the time has come...
Update your code. https://yalmip.github.io/tutorial/basics/
Error using constraint/set (line 6)
Obsolete command
Error in chap5_1 (line 14)
L=set(FAI<0);
The last coomand i used after my sdpvar command.
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!