Porting Matlab Code to C++
2 views (last 30 days)
Show older comments
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
0 Comments
Accepted Answer
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.
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!