|
"Matthew Wade" <cosmicspacepig@googlemail.com> wrote in
message <fj8ira$3o1$1@fred.mathworks.com>...
> I used Dependency Walker which told me that two dlls
> (dwmapi.dll and efsadu.dll) were not found, so I installed
> them and the new error message from DW is:
>
> due to a missing export function in an implicitly dependent
> module
>
> This relates to the funcion:
>
> mxCreateDoubleMatrix_700
>
> As the code was compiled on another person's computer
> (possibly running a different version of Matlab), could
> this then be the problem!
>
> Ideas please...
>
> Thanks
>
> Matt
>
>
>
>
>
>
> "Matthew Wade" <cosmicspacepig@googlemail.com> wrote in
> message <fj6vie$d4$1@fred.mathworks.com>...
> > Hi,
> >
> > I am running a Simulink model developed by a colleague
> (Im
> > in Germany, he is in Spain, so it is difficult to
> > troubleshoot over email).
> >
> > A previous version of the model worked fine, he changed a
> > few entries in an Excel file where the parameters are
> > stored, now the updated model does not work. This only
> > applies to my system - his works fine.
> >
> > The error message I get is:
> >
> > ??? Invalid MEX-file 'C:\Programme\MATLAB71
> > \work\agrobiogas\gui\agrobiogas_model\reactor.mexw32':
> Die
> > angegebene Prozedur wurde nicht gefunden.
> >
> > .
> >
> > ??? Invalid MEX-file 'C:\Programme\MATLAB71
> > \work\agrobiogas\gui\agrobiogas_model\reactor2.mexw32':
> Die
> > angegebene Prozedur wurde nicht gefunden.
> >
> > .
> >
> > ??? Error using ==> sim
> > --> Error while obtaining sizes from MEX S-
> > function 'reactor' in 'anaerobio_2R/S-Function'. MATLAB
> > error message:
> > Invalid MEX-file 'C:\Programme\MATLAB71
> > \work\agrobiogas\gui\agrobiogas_model\reactor.mexw32':
> Die
> > angegebene Prozedur wurde nicht gefunden.
> >
> > That bit in german is "module is not found".
> >
> > I have tried many things like using the Simulink debugger
> > and reusing the old model. But even with the old model I
> > now get the error - which I did not get before. Very
> > strange.
> >
> > Any ideas!!
> >
> > Thanks
> > Matt
> >
>
I get the exact same error message, when I try to load a
mexw32 file with LoadLibrary in VC++. For legacy reasons I
have a 2006a version on my computer, and loading a mexw32
file created with 2006a works fine. Seems to me there is an
issue in 2007b.
|