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