MATLAB: Classdef compatible with Matlab Coder

classdefMATLABmatlab coderoop

I have a package of multiple .m files and self defined classes that I want to compile into C Code as a stand alone application. In my research on this topic I could not find a definite answer to this. Cansomeone tell if this is possible?

Best Answer

Hi,
check out
>>web(fullfile(docroot, 'simulink/ug/matlab-language-features-supported-for-code-generation.html'))
or use the online doc. Classes should be supported by MATLAB Coder. AFAIK the MATLAB Coder converts the MATLAB class into a structure like format in C.