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

9 views (last 30 days)
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 Comment
Preethi
Preethi on 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)

Sign in to comment.

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!