How to covert a decimal number to binary in simulink 2017b?

5 visualizaciones (últimos 30 días)
Sanjeev Kumar
Sanjeev Kumar el 20 de Feb. de 2019
Comentada: Sanjeev Kumar el 11 de Mzo. de 2019
If I have a constant block with value say A=7 and I need binary output as 0111.
What should I do for that?
Note-BitToInteger/IntegerToBit blocks are not available in 2017b.
  4 comentarios
Adam Danz
Adam Danz el 27 de Feb. de 2019
Why not use dec2bin()?
dec2bin(7)
Sanjeev Kumar
Sanjeev Kumar el 11 de Mzo. de 2019
@Adam Danz , I guess dec2bin or bin2dec block is not available in Simulink till 2017b release.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Block Libraries en Help Center y File Exchange.

Productos


Versión

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by