From: Zia on
Hi Everyone,

i am trying to create a dll to use it in my other software. But when i am giving the following command i am having the error. Does anybody can help me. I am using Matlab 2008a and Matlab compiler 4.8.

>>mbuild –link foo_wrapper.c foo.c foolib.c foolib.exports

C:\PROGRA~1\MATLAB\R2008A\BIN\MEX.PL: Error: '–link' not found.

??? Error using ==> mbuild at 183
Error using ==> mbuild_helper at 72
Unable to complete successfully.

Any help on that. Thanks.
Regards!