How to use tmu of CCS in Matlab? How to use sincos_rts block in simulink?
조회 수: 5 (최근 30일)
이전 댓글 표시
Srinivaskarthik potluri
2019년 8월 8일
댓글: Venkatesh Chilapur
2019년 8월 12일
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!