Jump to content

C++ and matlab

- - - - -

  • Please log in to reply
1 reply to this topic

#1
doudou_mprof

doudou_mprof

    Newbie

  • Members
  • Pip
  • 5 posts
Hi,
i have a progam written in C++ ,i want to execute in matlab. what i will do to watch the result of execution with matlab?
could someone please help me .
and thanks.

#2
bmxtra211

bmxtra211

    Newbie

  • Members
  • Pip
  • 1 posts
You can use the MATLAB external interface, MEX:

Support - MEX-files Guide

The instructions given there are pretty comprehensive. Note that first you'll need to link a supported compiler to MEX, and then write a mexFunction on top of what you already have, in order to pass data from MATLAB to your C++ code and back.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users