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.