xPC Target Optimizations on compile speed really slow

조회 수: 1 (최근 30일)
Thomas Marullo
Thomas Marullo 2013년 7월 9일
댓글: Chethan Pandarinath 2014년 3월 6일
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 CenterFile Exchange에서 Target Computer Setup에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by