Make isfile.m command work with Matlab versions before 9.1

time-shift
Johannes Pfeifer 2017-10-17 09:13:53 +02:00
parent d4e3dbe370
commit fa26ab10e0
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ cellofstringflag = false;
n = 1;
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);
stringarrayflag = true;
a = false(size(b));