Closed abmnmj closed 7 years ago
A quick response about MinGW: it should work fine. If it doesn't right now, we should be able to fix it. In fact, when I was first developing this, I was using the MinGW toolchain (in a custom make file) to build the mex function. It was only after getting it basically functional that I migrated to doing the build through MATLAB's mex function.
As for your particular problem here, hopefully I'll be able to dig into the issue this weekend.
Thanks for checking mexjulia
out.
With rev.28, this now works using the above set-up. Thanks!
Hello, I'm having trouble getting the mexjulia part to work. And I really would like to get started with migrating parts of my Matlab code into julia from within the "comfort zone" of the Matlab IDE.
Set-up: Windows 7, SP1; Matlab R2015b; MinGW64 Compiler (C++); Julia 0.5.0.
I have run Pkg.update() multiple times but the "out-of-date" warning persists. Reinstalled the MATLAB package and got v0.4.2.
When I run
Jl.eval
it asks me to select the julia executable again:Checking with Matlab, the mex file appears to exist (of course I can also see it in the rebranding folder):
So I set a breakpoint on line 38 in Jl.m and try to evaluate again:
The mexjulia "module" (I assume this is something related to object-oriented programming in Matlab) has the "value":
And again, still in the debugger, the path to the mex-file checks out:
Do you have any ideas of what I am doing wrong based on the information provided? Should this work with the mingw compiler?
Regards, Martin