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 a4e7e5d commit 188b8c9Copy full SHA for 188b8c9
+stdlib/is_mex_fun.m
@@ -1,7 +1,12 @@
1
%% IS_MEX_FUN detect if a function is loaded as MEX or plain .m
2
3
function y = is_mex_fun(name)
4
- y = endsWith(which(name), mexext());
+arguments
5
+ name {mustBeTextScalar}
6
+end
7
+
8
+y = endsWith(which(name), mexext());
9
10
end
11
12
%!testif 0
+stdlib/windows_shortname.m
@@ -33,4 +33,9 @@
33
34
35
36
-%!testif 0
+%!test
37
+%! if ispc
38
+%! pkg load windows
39
+%! c = getenv('ProgramFiles');
40
+%! assert(strlength(windows_shortname(c)) == 11)
41
+%! endif
src/unlink.cpp
0 commit comments