How to use tmu of CCS in Matlab? How to use sincos_rts block in simulink?
5 次查看(过去 30 天)
显示 更早的评论
How to use tmu of CCS in Matlab? How to use sincos_rts block in simulink?
0 个评论
采纳的回答
Venkatesh Chilapur
2019-8-9
Hi,
If your hardware supports it, turn on the TMU support (--tmu_support=tmu0 and --fp_mode=relaxed) in addition to FPU support (--fpu_support=fpu32) and then call the sin(), cos()- what the compiler does in this case is replace those calls with TMU instructions.
You can add them under C Compiler under Toolchain details in ‘Code Generation’ tab. please refer below fig.
Also, FastRTS is included in the build using the Linker option in Build configuration as shown below:
Regards,
Venkatesh C
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 C Code Generation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!