Hello, I have to do a projec
Hello, I have to do a projec
(OP)
Hello,
I have to do a project in which i have i to write two programs.One in Vc++6.0 and the other matlab 6.1 (any for that matter)
at the same time i dont wana use the mex file as it is very confusing for me.I wanna do them separately. But i would still like to call matlab into C++ Or share the results and functions. Someone told me that both the languages can be linked up by using Visual basic.Im not sure about it.If any has any idea of linking them up minus mex files plzz let me know.Thnxx
I have to do a project in which i have i to write two programs.One in Vc++6.0 and the other matlab 6.1 (any for that matter)
at the same time i dont wana use the mex file as it is very confusing for me.I wanna do them separately. But i would still like to call matlab into C++ Or share the results and functions. Someone told me that both the languages can be linked up by using Visual basic.Im not sure about it.If any has any idea of linking them up minus mex files plzz let me know.Thnxx





RE: Hello, I have to do a projec
Compile your C++ program as an .exe file. You can than call it from within Matlab (may be you need the (!) sign in front of the file name). To path data, write it to a file and read it, the fprintf function is similar in C and Matlab (if not identical).
This will work fine unless you have to loop over read/write process.
Joe
BSTeX- Equation viewer for Matlab
http://www.geocities.com/bstex2001