How to define parameters of masked subsystem as tunable parameters (for code generation using Embedded coder)
古いコメントを表示
In simulink, how parameters provided to subsystem masks can be implemented as tunable parameters by RTW in generated code ? They don't appear in the window : 'Model Parameter Configuration'. So I can't define them as 'Global (tunable) Parameters'.
1 件のコメント
TAB
2012 年 4 月 26 日
How you have defined the parametes? Are they defined as 'Simulink.Parameter'?
回答 (2 件)
Titus Edelhofer
2012 年 4 月 26 日
0 投票
Hi Genin,
they should appear: if you use workspace variables for your subsystem mask parameters, those variables should appear so you can define them as tunable.
You need to mark them as tunable in the mask editor, though.
Titus
カテゴリ
ヘルプ センター および File Exchange で Author Block Masks についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!