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

1 Ansicht (letzte 30 Tage)
Haksun Lee
Haksun Lee am 25 Nov. 2016
Kommentiert: Preethi am 25 Nov. 2016
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 Kommentar
Preethi
Preethi am 25 Nov. 2016
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)

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by