Undefined function 'binvar' for input arguments of type 'double'

95 views
Skip to first unread message

Nikunj Bajaj

unread,
Aug 29, 2013, 12:53:14 PM8/29/13
to yal...@googlegroups.com
Hi,

I was running a code using CPlex as a solver and it was working well. Then I made a different version of the same code in a completely new folder with just some restructuring and the new code gives me the error :

Undefined function 'binvar' for input arguments of type 'double'

The strange part is, now even the old code gives the same error athough I did not make any changes in the same. I know that sounds insane but this is what happened ! Can someone please guide me what could have changed in this process that results in this error when I try to define something like thi s: 

GB_right =binvar(ng_right,nb_right,'full');  

Thanks,
NIkunj

Johan Löfberg

unread,
Aug 29, 2013, 12:55:35 PM8/29/13
to yal...@googlegroups.com
You no longer have YALMIP in your path

Nikunj Bajaj

unread,
Aug 29, 2013, 9:59:00 PM8/29/13
to yal...@googlegroups.com
My bad. That was pretty much it. Thanks a lot 
Reply all
Reply to author
Forward
0 new messages