MATLAB: Matlab coder can convert matlab GUI application into c or c++ file
matlab coder
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.
Best Answer
No, MATLAB Coder does not support loading .fig files.
If you have just started the GUI implementation, I would suggest you to switch to AppDesigner instead. If you are way long in guide, finish it off in guide itself, use MATLAB migration tool to convert GUI to Matlab app(.mlapp). Then you can easily make the APP into any standalone application(.exe) which comes with MATLAB Runtime that can be installed in any PC without MATLAB.
Itshould in theory now just be a matter of removing the call to load the figure, and instead calling the routine that recreates the items that were in the figure.
Best Answer