How can I use hexadecimal format for parameter values in xPC Target?
조회 수: 3 (최근 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!