Matlab coder can convert matlab GUI application into c or c++ file ?

2 visualizaciones (últimos 30 días)
Hi,
Currently i building a application using GUI, can i convert both fig and m file to c or c++ file? the application is to take input from user to generate the step response graph.

Respuesta aceptada

Walter Roberson
Walter Roberson el 18 de En. de 2018
No, MATLAB Coder does not support loading .fig files.
The File Exchange contribution https://www.mathworks.com/matlabcentral/fileexchange/14340-convert-fig-to-matlab-code could probably help with this, but do take note of the corrections noted in the comments there.
  3 comentarios
Walter Roberson
Walter Roberson el 18 de En. de 2018
MATLAB Coder itself effectively does not support displaying any graphics, and does not support uicontrol or similar interface functions.
If you are targetting external hardware, then in some cases you can embed your code into a Simulink model, and use hardware-specific graphics blocks for interface purposes.
MATLAB Compiler, on the other hand, does support compiling .fig files and user interfaces -- but does not produce C or C++ code.
llca llasd
llca llasd el 18 de En. de 2018
Totally get it now, thanks for clearing my doubt.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre MATLAB Compiler en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by