How to use tmu of CCS in Matlab? How to use sincos_rts block in simulink?
7 ビュー (過去 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!