Skip to content
Snippets Groups Projects
Commit fa26ab10 authored by Johannes Pfeifer's avatar Johannes Pfeifer
Browse files

Make isfile.m command work with Matlab versions before 9.1

parent d4e3dbe3
No related branches found
No related tags found
1 merge request!1542Make isfile.m command work with Matlab versions before 9.1
...@@ -49,7 +49,7 @@ cellofstringflag = false; ...@@ -49,7 +49,7 @@ cellofstringflag = false;
n = 1; n = 1;
a = false; a = false;
if ~isoctave() && isstring(b) && length(b)>1 && isvector(b) if ~isoctave() && ~matlab_ver_less_than('9.1') && isstring(b) && length(b)>1 && isvector(b)
n = length(b); n = length(b);
stringarrayflag = true; stringarrayflag = true;
a = false(size(b)); a = false(size(b));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment