xPC Target Optimizations on compile speed really slow

1 回表示 (過去 30 日間)
Thomas Marullo
Thomas Marullo 2013 年 7 月 9 日
When I use the xPC Target option to set Compiler Optimizations to On, the compilation line where it compiles the .c file takes a really long time compared to when I set Optimizations to Off. I do notice an improvement in model AverageTET time, so the optimizations are doing something. But what I was curious about is why it takes so much longer to compile the model.c file with optimizations on? My model went from compiling in a few seconds to 2 hours just by setting that option.
  1 件のコメント
Chethan Pandarinath
Chethan Pandarinath 2014 年 3 月 6 日
Thomas, do you have any tips on this? We are having similar slow compiles. Not sure if optimization is the culprit in our case, but if you found anything that helps, it'd be great to hear.

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeTarget Computer Setup についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by