From: Pavan on
hi!

I have created a c-program using mex function. And in the program I'm connecting to another software called as ChemApp. So, I'm using some C functions through which I can use ChemApp properties. For compiling mex file I need to add another source file and an object library file, which I'm able to do successfully. But when tried using the function after compilation it's throwing an error as

??? Invalid MEX-file 'C:\Documents and Settings\Pavan\My Documents\MATLAB\Lab work\chemini.mexw32': The specified procedure could not be found.

I can see the compiled file 'chemini.mexw32' in the folder.

Kindly help at the earliest.

Regards
Pavan
From: Pavan on
Hi all,

I'm still searching for an answer. So if you guys have anything to share please do it... Would really appreciate quick reply.

Regards
Pavan

"Pavan " <vytesh(a)gmail.com> wrote in message <hrfijs$e87$1(a)fred.mathworks.com>...
> hi!
>
> I have created a c-program using mex function. And in the program I'm connecting to another software called as ChemApp. So, I'm using some C functions through which I can use ChemApp properties. For compiling mex file I need to add another source file and an object library file, which I'm able to do successfully. But when tried using the function after compilation it's throwing an error as
>
> ??? Invalid MEX-file 'C:\Documents and Settings\Pavan\My Documents\MATLAB\Lab work\chemini.mexw32': The specified procedure could not be found.
>
> I can see the compiled file 'chemini.mexw32' in the folder.
>
> Kindly help at the earliest.
>
> Regards
> Pavan