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

1 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Deployment, 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