Elliot: The (unhelpful) error:
>> mexjulia Invalid MEX-file 'U:\prj\mexjulia\mexjulia.mexw64': Invalid access to memory location. My understanding is that this is due to some DLL that fails to be found. I tried to step through with gdb (in cygwin) to see if I could get more information about what wasn't getting found, only to find that it worked in that case! Isaiah: I had tried dependency walker before I discovered that I could make it work by launching via cygwin. The unresolved DLLs that it reports are: API-MS-WIN-APPMODEL-RUNTIME-L1-1-0.DLL API-MS-WIN-CORE-WINRT-ERROR-L1-1-0.DLL API-MS-WIN-CORE-WINRT-L1-1-0.DLL API-MS-WIN-CORE-WINRT-ROBUFFER-L1-1-0.DLL API-MS-WIN-CORE-WINRT-STRING-L1-1-0.DLL API-MS-WIN-SHCORE-SCALING-L1-1-1.DLL DCOMP.DLL IESHIMS.DLL My subsequent googles suggested that these were really red herrings, but any insight you may have would be very much appreciated.
