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.
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.