Do not consider variables that are not column vectors.
parent
648c4717ad
commit
06f4926553
|
@ -97,9 +97,15 @@ if isempty(varlist0)
|
||||||
continue
|
continue
|
||||||
end
|
end
|
||||||
if list_of_variables(current_variable_index).global || list_of_variables(current_variable_index).persistent
|
if list_of_variables(current_variable_index).global || list_of_variables(current_variable_index).persistent
|
||||||
|
% A variable cannot be a global or persistent variable.
|
||||||
continue
|
continue
|
||||||
end
|
end
|
||||||
if list_of_variables(current_variable_index).complex || ~strcmp(list_of_variables(current_variable_index).class,'double')
|
if list_of_variables(current_variable_index).complex || ~strcmp(list_of_variables(current_variable_index).class,'double')
|
||||||
|
% A variable cannot be complex.
|
||||||
|
continue
|
||||||
|
end
|
||||||
|
if list_of_variables(current_variable_index).size(2)>1
|
||||||
|
% A variable must be passed as a column vector.
|
||||||
continue
|
continue
|
||||||
end
|
end
|
||||||
try
|
try
|
||||||
|
|
Loading…
Reference in New Issue