We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4509bb9 commit a1e8d35Copy full SHA for a1e8d35
+stdlib/private/strlength.m
@@ -10,6 +10,9 @@
10
L = length(s);
11
elseif isstring(s)
12
L = builtin('strlength', char(s));
13
+ % bug in Matlab at least through R2025a confirmed by Xinyue Xia of Mathworks Technical Support
14
+ % only works for char and scalar strings until fixed by Mathworks.
15
+ % once fixed, wouldn't need char(s) conversion.
16
end
17
18
0 commit comments