生成コード内でHEX表現する方法について

4 vues (au cours des 30 derniers jours)
直樹 田中
直樹 田中 le 7 Jan 2021
Simulinkで、Constantブロックに"0x7FFFFF"と入力してコード生成(インライン)すると、"8388607"となります。
可読性の為にコード内でも"0x7FFFFF"とするにはどうすればいいでしょうか?

Réponses (0)

Catégories

En savoir plus sur 配布 dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!