Embedded Coder が "memset" を使用してハードコード定数の代わりにするにはどうしますか?
Ältere Kommentare anzeigen
Embedded Coder が "memset" を使用してハードコード定数の代わりにするにはどうしますか?
定数ブロックに 100e3 要素の配列があります。"Use memset to initialize floats and doubles to 0.0" を有効にしていますが、この定数は生成された "*.c" コード内で 100e3 個のゼロがハードコードされています。この定数だけで 6000 行以上のコードを占めており、すべてゼロです。
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu 配布 finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!