×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Hello, I have to do a projec

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

RE: Hello, I have to do a projec

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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources