I am defining multiple binvar matrices using command line syntax, but MATLAB returns an error.
I am using the follow command:
binvar a(9)
The error infomration is
"Output argument "sys" (and possibly others) not assigned a value in the execution with "sdpvar" function.
error in binvar (the 25th line)
sys = sdpvar(varargin{:});".
But the following command goes well:
binvar a
What would be the problem for the command defining binvar matrices using command line syntax like "binvar a(9)"?
I am defining multiple binvar matrices using command line syntax, but MATLAB returns an error.
I am using the follow command: binvar a(9)
The error infomration is "Output argument "sys" (and possibly others) not assigned a value in the execution with "sdpvar" function. error in binvar (the 25th line) sys = sdpvar(varargin{:});".
But the following command goes well: binvar a
What would be the problem for the command defining binvar matrices using command line syntax like "binvar a(9)"?