optimize global data access parameter changes to none while building

1 回表示 (過去 30 日間)
Naini Dawar
Naini Dawar 2017 年 3 月 28 日
回答済み: Sonam Gupta 2017 年 3 月 31 日
In generating the code, the "optimize global data access" parameter if manually changed to "Minimize global data access" itself changes to none while building. What are the pre requisites for code to avoid global data and use local variables for declarations inside a function

採用された回答

Sonam Gupta
Sonam Gupta 2017 年 3 月 31 日
"Optimize global data access" parameter shows up only if you generate code using embedded coder. In order to set its value to "Minimize global data access", you need to enable "Signal storage reuse" parameter.
You can build the model using 'Build Model' option. The keyboard shortcut for the same is 'ctrl + B'.
Hope this helps!

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMemory Usage についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by