How to avoid Main file and interface file system for Code Generation ?
古いコメントを表示
Case 1. We are working on a modular function model (separate .slx for each component), so when we generate a code for model all model having ert_main.c file.
- How to avoid ert_main.c file getting generated during code generation
- While generating code for multiple model, while integration file name needs to be different
Case 2. When we uncheck model settings -> Code generation -> templated -> Generate an example main program, ert_main.c file is not generating but instead rtmodel.h file got generating
- Is above configuration is correct method ?
- How to avoid rtmodel.h getting generated.
Case 3. How to avoid modelname_types.h file ?
- This file was included in model.h file creating a dependency.
Basically we would like generate code as much as possible in single main & header file.
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Simulink Coder についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!