Porting Matlab Code to C++

2 visualizzazioni (ultimi 30 giorni)
Siamack
Siamack il 6 Giu 2014
Commentato: Siamack il 6 Giu 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

Risposta accettata

Kaustubha Govind
Kaustubha Govind il 6 Giu 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 Commento
Siamack
Siamack il 6 Giu 2014
Good morning Kaustubha, Thank you for your answer. Quite accurate and helpful.
Regards, Siamack

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su MATLAB Coder in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by