How can I use hexadecimal format for parameter values in xPC Target?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I want to be able to use hexadecimal numbers directly as parameters of xPC Target blocks.
Akzeptierte Antwort
MathWorks Support Team
am 27 Jun. 2009
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 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Target Computer Setup finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!