invalid mex file

Started by rsvas2001 November 6, 2004

Hello group,

I got an Simulink s-function block from somebody, including
source,header files, object files, dlls. when i tried to run this
model in my matlab
i am getting errors

Unable to load mex file
The specified procedure could not be found.
Invalid MEX-file.
Error while obtaining sizes from MEX S-function.
and warning: this model is generated with a newer version (5.1) of
we both are using same matlab version i.e 6.5.

i can able to compile my own s-functions in matlab. strange thing
is i have the another model from the same guy, which is created in
the same environment is working in my matlab.

can any body have idea what might be the problem is?

i appreciate your time