Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Mex32w error
Date: Thu, 13 Dec 2007 15:45:13 +0000 (UTC)
Organization: Takata
Lines: 85
Message-ID: <fjrk29$9nj$1@fred.mathworks.com>
References: <fj6vie$d4$1@fred.mathworks.com> <fj8ira$3o1$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1197560713 9971 172.30.248.37 (13 Dec 2007 15:45:13 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 13 Dec 2007 15:45:13 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 806373
Xref: news.mathworks.com comp.soft-sys.matlab:442347



"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.