matlab - Error: Subscript indices must either be real positive integers or logicals -
this question has answer here:
i have 1 194-by-1 matrix. when try find size, message:
subscript indices must either real positive integers or logicals.
all values positive , logical, problem?
is possible accidentally override size
function?
>> size
should give output
built-in (c:\ x x x \toolbox\matlab\elmat\size)
if like
size variable
then override function.
to ammend you'll have clear
variable
>> clear size
now can use function
>> size( )
Comments
Post a Comment