mexjulia
mexjulia copied to clipboard
embedding Julia in the MATLAB process.
I'm running MATLAB R2017a and Julia 0.6 on Yosemite 10.10.5. Here is the error I get with `jl.config`: ``` >> jl.config('/Applications/Julia-0.6.app/Contents/Resources/julia/bin/julia') build_cflags: '-O -I"/Applications/Julia-0.6.app/Contents/Resources/julia/include/julia" -DJULIA_ENABLE_THREADING' build_ldflags: '-L"/Applications/Julia-0.6.app/Contents/Resources/julia/lib" -Wl,-rpath="/Applications/Julia-0.6.app/Contents/Resources/julia/lib"' build_ldlibs: '-ljulia...
This is related to https://github.com/twadleigh/mexjulia/issues/48 because I can't figure out how to get multiple outputs from a julia function. Again, with this as the example: ``` # nargoutTest.jl function nargoutTest(a,b)...
Readme.md instructions refer to jl.config but this file is not present in the repository. Quoting from Readme.md... Start MATLAB and navigate to the mexjulia directory. Once there, run: >> jl.config
clang on mac (as opposed to g++) which is the default compiler for matlab, requires -rpath, instead of -rpath=
I just did a fresh clone of the mexjulia master and am running ``` Julia Version 0.5.1-pre+4 Commit 887ad05 (2016-10-28 19:39 UTC) Platform Info: System: Darwin (x86_64-apple-darwin15.6.0) CPU: Intel(R) Core(TM)...
Running the `Jl.mex` example causes an error. The two first examples in the Readme work: ``` >> disp(Jl.eval('2+2')) 4 >> disp(Jl.call('factorial', 10)) 3628800 ``` The file for the third example...