Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

matlab compiler

Status
Not open for further replies.

bylina

Electrical
Nov 27, 2002
1
I am new in compiling matlab m-files into stand-alone application. Everything goes well, compiling m-files, linking libraries, I can even run example hello.m file. But how can I pass arguments?
For example - I have matlab m-file, that is called
[a,b]=solve([c,d,e],f)
from within matlab environment.
Now I have this file compiled (mcc -p solve.m). How should calling C++ (for Linux g++) file look like? Do I have to convert arguments to mwarrays?

Thanks
Ladja
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor