Merge pull request #1542 from JohannesPfeifer/isstring

Make isfile.m command work with Matlab versions before 9.1
time-shift
Stéphane Adjemian 2017-10-19 20:08:13 +02:00 committed by GitHub
commit bb7c245048
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));