Commit e6a4605a authored by Stéphane Adjemian's avatar Stéphane Adjemian Committed by Stéphane Adjemian (Charybdis)

Merge pull request #1542 from JohannesPfeifer/isstring

Make isfile.m command work with Matlab versions before 9.1

(cherry picked from commit bb7c2450)
parent d3077377
......@@ -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));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment