Running DLL
Hello,
I am trying to run a couple of DLL's within MATLAB 7.0.4 that were
compiled on another computer with the same version of MATLAB as me,
PC-Windows.
On my computer, some of the compiled DLL's give the error:
??? Invalid MEX-file
==> The specified module is not found
These same DLL's work fine on the machine where it was compiled. The
difference is that I don't have the compiler installed (MSVC) that
was used to create the DLL but my understanding was once the DLL has
been created, it doesn't need the compiler.
Please correct me or else any suggestions on where to start debugging
would be greatly appreciated.
AJ
.
Relevant Pages
- Re: Calling a matlab dll in java
... you mention about putting a -nojvm option when initializing the dll ... the matlab generated library inside my jni-dll) ... all compiler and linker options in VS took me a while, ... JNIEXPORT void JNICALL ... (comp.soft-sys.matlab) - Re: Matlab C compiler
... your application against the resulting DLL. ... To answer your question more specifically, the MCR dependence is introduced ... if I were to use matlab compiler to translate the ... (comp.soft-sys.matlab) - Re: Compiling to a DLL
... Scott French wrote: ... DLL, but I tried your suggestion and indeed it created ... However then I started up Matlab ... If this were a non-MATLAB Compiler generated MEX-file, ... (comp.soft-sys.matlab) - Re: newbie question: creating my first mex-file - compiling on windows xp
... > Which compiler should I download in order to get started? ... For mex, LCC that comes wirth matlab suffices for getting started. ... Install the MS Visual studio first, and see if there are more options ... (comp.soft-sys.matlab) - Re: newbie question: creating my first mex-file - compiling on windows xp
... There is a PDF file available at the Matworks site. ... > I found something with google called "Connecting C and matlab" 4 pages. ... >> IDE you will almost certainly find it easier to learn C there. ... I'd go with the compiler with the best IDE ... (comp.soft-sys.matlab) |
|