optimize global data access parameter changes to none while building
7 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Naini Dawar
il 28 Mar 2017
Risposto: Sonam Gupta
il 31 Mar 2017
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
0 Commenti
Risposta accettata
Sonam Gupta
il 31 Mar 2017
"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 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Manual Performance Optimization in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!