Simulink Bit to Integer Converter block for c-code generation.

조회 수: 3 (최근 30일)
Haksun Lee
Haksun Lee 2016년 11월 25일
댓글: Preethi 2016년 11월 25일
Hello, all guys.
I am struggling to generate c-code for bit to integer converter block of communication system toolbox.
I searched report that bit to integer converter block isn't changed to c-code. Is that right?
If yes, how can I make c-code(or m-code) for bit to integer converter block?
  댓글 수: 1
Preethi
Preethi 2016년 11월 25일
hi,
Are you using convert block? I am not sure but I think the conversion is implemented as typecasting in c code. For ex.
x = uint32(var1)

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by