Skip to content

Commit 0cf58a9

Browse files
committed
toolbox_used simplify
1 parent 71904de commit 0cf58a9

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

+stdlib/toolbox_used.m

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,11 @@
1313

1414
n = name;
1515

16-
try
17-
16+
if ~stdlib.matlabOlderThan('R2026a')
1817
f = namespaceFunctions(name);
1918
if ~isempty(f)
2019
n = f(1).NamespaceName + "." + string({f.Name});
2120
end
22-
23-
catch e
24-
25-
if ~strcmp(e.identifier, 'MATLAB:UndefinedFunction')
26-
rethrow(e)
27-
end
28-
2921
end
3022

3123
if ispc()

0 commit comments

Comments
 (0)