Code generation to C/C++ compiler option "fp:strict"
1 次查看(过去 30 天)
显示 更早的评论
When running codegen, the makefiles always have the "fp:strict" compiler option. Is there anyway to modify this option?
As a work-around, I can manually modify the makefile manually and re-run it.
0 个评论
回答(1 个)
Darshan Ramakant Bhat
2020-1-30
I could not reproduce this in R2019b version of MATLAB (and I have not verified this is the case in the previous releases).
You can try doing something like below if that is what you want :
coder.updateBuildInfo('addCompileFlags','/fp:fast');
You can also take a look at post-codegen-command :
Hope this will help you.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!