codegen: Do I need to include the source generated under the "interface" directory when building a library on a different platform?
古いコメントを表示
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?
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Algorithm Design Basics についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!