juliamatlab / mexjulia

embedding Julia in the MATLAB process.
MIT License
52 stars 14 forks source link

Example with `jl.eval` doesn't work #53

Closed sg-s closed 5 years ago

sg-s commented 7 years ago

Running

jl.eval('println("Hello, world!")');

gives me this error:

Error using mexjulia
Unhandled Julia exception: CompositeException

Error in jl.mexn (line 16)
            [outputs{:}] = mexjulia('jl_mex', fn, varargin{:});

Error in jl.eval (line 32)
            [varargout{:}] = jl.mexn(nargin, 'Mex.jl_eval', varargin{:});

Seems to be an issue with println -- other functions work OK