Skip to content
Snippets Groups Projects
Commit 4eba56c2 authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Added special treatment for strings.

parent ff1bffc4
No related branches found
No related tags found
No related merge requests found
......@@ -61,6 +61,8 @@ if isa(A,'double')
t = 1;
end
end
elseif isa(A,'char')
t = isequal(A, B);
elseif isa(A,'cell')
rA = reshape(A, prod(sA), 1);
rB = reshape(B, prod(sB), 1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment