How can I use hexadecimal format for parameter values in xPC Target?
1 次查看(过去 30 天)
显示 更早的评论
I want to be able to use hexadecimal numbers directly as parameters of xPC Target blocks.
采纳的回答
MathWorks Support Team
2009-6-27
The ability to enter hexadecimal numbers as parameters of xPC Target blocks is not available in xPC Target.
To work around this issue, use the hex2dec function. This function allows you to specify the number in hexadecimal format.
For example, you can enter a sequence like the following as a parameter:
hex2dec('3ff')
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Target Computer Setup 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!