How do I make my code compatible with both single and double precision mode?
古いコメントを表示
In order to generate single-precision code with the "-singleC" flag, I have to manually change some of my functions. For example, whenever I use the "realmax" function, I have to manually change every instance of "realmax('double')" to "realmax('single')".
How can I automate this process? What is the best workflow to easily convert back and forth between single and double precision?
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Process Point Clouds についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!