binary convertion data simulink

Is there anyway of converting a binary data into decimal in simulink? Or doing a operation in binary?

回答(1 个)

BhaTTa
BhaTTa 2024-10-25
编辑:BhaTTa 2024-10-25

0 个投票

Hey @Danilo NASCIMENTO, you can convert binary data into decimal format in Simulink by using a combination of blocks that interpret the binary data and convert it to a decimal number.
Please follow below steps:
  1. Open Simulink
  2. Create a New Model
  3. Add these blocks: Constant Block, Data Type Conversion Block and Dsiplay Block.
  4. Configure and Connect the Blocks
  5. Run Simulation.

类别

在 帮助中心 和 File Exchange 中查找有关 Simulink 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by