The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: [MEX-files and Deployed code] Matlab and C++
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  

Posts: 1
Registered: 12/7/12
[MEX-files and Deployed code] Matlab and C++
Posted: Dec 7, 2012 10:49 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hello all,

I am trying to deploy my Matlab code, but i'm facing 2 issues. Let me explain:

My Matlab code (GUI) is launched using Matlab engine, via C++. When pressing on one button, an new C++ interface is launched.
So I have: C++ -> MATLAB -> C++

Here are my 3 issues:

1) When deployed, my Matlab code will not be able to "discuss" with the C++ code as it currently does. How can I create C++ events from a deployed Matlab code? It is deployed in an executable file. Should I deploy it into C++ shared library? Would it then be possible to create events?

2) As stated, pressing on button returns an event to C++ code. In one case, the event consists into opening a C++ GUI. The only way to call C++ from Matlab is using MEX file?

3) I want to create a MEX file from C++ with UiMX. Is MEX compiler compatible with UiMX?

I guess if there is an answer to the first issue, the second could be solved.

Thank you for your help.

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.