Porting Matlab Code to C++

2 views (last 30 days)
Siamack
Siamack on 6 Jun 2014
Commented: Siamack on 6 Jun 2014
Good morning all Matlab Experts,
If you please assist me in:
If a GUI based matlab code is converted to C++ using matlab Coder, will that code a) be able to run on a standalone device where there are no Matlab's installed b) be able to run and support the Matlab based GUI functionality after being converted
Appreciate the time each respondent will take to answer my question ahead of time,
Regards, Siamack

Accepted Answer

Kaustubha Govind
Kaustubha Govind on 6 Jun 2014
MATLAB Coder can generate code that is completely standalone, but it does not support MATLAB Graphics/GUI. As the product page notes, it supports a subset of the MATLAB language for generating completely standalone code.
The product you might be looking for is MATLAB Compiler, which can generate standalone executables/libraries from GUI-based code. However, the generated code does depend on MATLAB runtime libraries, which are packaged into the generated executable/library and must be installed on the client.
  1 Comment
Siamack
Siamack on 6 Jun 2014
Good morning Kaustubha, Thank you for your answer. Quite accurate and helpful.
Regards, Siamack

Sign in to comment.

More Answers (0)

Categories

Find more on MATLAB Coder in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!