Block settings of "Code generation storage class" missed in Simulink R2020b

2 ビュー (過去 30 日間)
Mingjin Hu
Mingjin Hu 2020 年 10 月 26 日
回答済み: Urmila Rajpurohith 2021 年 3 月 4 日
In my MATLAB R2020b, the block settings of "Code generation storage class" and "Signal object class" for Delay, Discrete-time FIlter and some other Simulink blocks are missing. The screenshot is shown below
And the "code" option in model data editor is also missed:
These lost issues can be found in the same model opened by MATLAB R2020a. Could anyone help me with this problem?

採用された回答

Urmila Rajpurohith
Urmila Rajpurohith 2021 年 3 月 4 日
Hi
  • Currently these parameters can be achieved as follows:
1. Instead of accessing "Signal object class", it is possible to use a custom storage class package when creating the state.(see "1" in above image)
2. To set up the storage class, you can utilise the code mappings pane editor instead of the old "Code generation storage class" option, as suggested by Mark McBroom.
(see "2" in above image)

その他の回答 (1 件)

Mark McBroom
Mark McBroom 2020 年 11 月 2 日
The use the "Code Mappings" dialog to set storage class. This can be found in the lower left-hand corner of the Simulink Canvas.
  1 件のコメント
Mingjin Hu
Mingjin Hu 2020 年 11 月 2 日
But where the block settings of "Code generation storage class" and "Signal object class" for Delay, Discrete-time FIlter and the other blocks in Simulink/Discrete category? I found them are still in the help document.

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

カテゴリ

Help Center および File ExchangeSimulink Coder についてさらに検索

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by