I am successfully generating code for a basic algorithm that does not depend on any toolboxes. I am using the following configuration settings:
% Set up the configuration cfg = coder.config('lib');
cfg.TargetLang = 'C++'; cfg.TargetLangStandard = 'C99 (ISO)'
cfg.GenerateReport = false; cfg.LaunchReport = false; cfg.EnableVariableSizing = true;
cfg.GenCodeOnly = true; cfg.GenerateExampleMain = 'DoNotGenerate';
The output produces a folder called "interface". So far I am able to build without including the source files in the "interface" folder, but I'd like to know what they are just in case I'm incorrectly building my library. Are the files in the "interface" folder necessary when building on a different platform? If not now, will they become necessary if I start to export code that depends on MatLab toolboxes?
Best Answer