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 62f204c commit 96cf956Copy full SHA for 96cf956
+stdlib/+legacy/file_attributes.m
@@ -2,9 +2,9 @@
2
arguments
3
p (1,1) string
4
end
5
-% need arguments for Matlab < R2020b
+% need arguments and stdlib.strempty for Matlab < R2020b
6
7
-assert(strlength(p), 'Path must not be empty.')
+assert(~stdlib.strempty(p), 'Path must not be empty.');
8
9
[status, s] = fileattrib(p);
10
0 commit comments