MATLAB.jl icon indicating copy to clipboard operation
MATLAB.jl copied to clipboard

Propagating exceptions from MATLAB to Julia

Open yakir12 opened this issue 5 years ago • 1 comments

It would be great if exceptions inside Matlab would somehow propagate to Julia. Right now they might elicit some printout but they are silent otherwise:

using MATLAB
mat"""
xxx - 1 % no xxx variable present, the error is silent for Julia
$x = 2
"""
@assert x == 2 # clears fine, even though the Matlab code (silently) failed.

yakir12 avatar Feb 19 '19 21:02 yakir12

Any ideas on how to handle this...?

yakir12 avatar May 10 '19 14:05 yakir12