How do I prepend a variable declaration with a qualifier in my generated code?
古いコメントを表示
I am generating C code and I want to add a macro before the variable declarations.
Currently, my generated code looks as follows:
/* Exported block parameters */
float32 variableName = 0.5F; /* Variable: variableName
* Referenced by: '<S5>/Constant1'
*/
I want to add a macro, which is defined in an external header file such that my generated code is as follows:
/* Exported block parameters */macro float32 variableName= 0.5F; /* Variable: variableName
* Referenced by: '<S5>/Constant1'
*/
How do I do this?
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Modeling Patterns for C Code Constructs についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

