What's the actual set of model parameters for a plain C ert target with no customisation?

1 回表示 (過去 30 日間)
Robert
Robert 2017 年 5 月 20 日
コメント済み: Robert 2019 年 3 月 28 日
I'm using R2016b. With another company we had some Excel sheet of parameters that was available at Mathworks, divided into a sheet for general parameters and ert parameters each,but that was for 2009a. I can't find any up-to-date equivalent.
I tried to find out with different methods:
  • When I create a Simulink.ConfigSet() and set SystemTargetFile to 'ert.tlc', getPropsForAttribute yields 592 parameters.
  • When I create a new model, set SystemTargetFile to 'ert.tlc', and export the config set, I get 401 parameters with an intersection of 373 parameters to above approach.
  • When I create a new model, set SystemTargetFile to 'ert.tlc', and retrieve ObjectParameters with get_param, I get 347 parameters.
  • When I create a new model, set SystemTargetFile to 'ert.tlc', and count all items in column "Command-Line Name" of the "All Parameters" tab of the "Configuration Parameters" dialogue I end up at ~516.
We need to define all model parameters with any impact on code generation explicitly and with respective reasoning. So what would be the list of parameters we need to decide on?
TIA,
Robert
  1 件のコメント
Robert
Robert 2019 年 3 月 28 日
Fun fact: Update for R2019a
Simulink.ConfigSet() with SystemTargetFile "ert.tlc" yields #no of parameters:
- fields of 'ObjectParameters': 552
- fields of .getPropsForAttribute(): 662
- fields of all components children by .getPossibleProperties(): 412
- including non-listed components: 628
New model with SystemTargetFile "ert.tlc" yields #no of parameters:
- fields of 'ObjectParameters': 855
- fields of get(sys): 446

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeDeployment, Integration, and Supported Hardware についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by