Skip to content

Commit 5a031bc

Browse files
author
Lee Carver
committed
Catch error throwing in matlab build
1 parent 06e8587 commit 5a031bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

atmat/atmexall.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ function atmexall(varargin)
149149
compile(compargs, pmeth);
150150
catch errcomp
151151
if fail
152-
rethrow(err);
152+
rethrow(errcomp);
153153
else
154154
fprintf(2, 'Could not compile %s:\n%s\n', pmeth, errcomp.message);
155155
end

0 commit comments

Comments
 (0)