Binary to Decimal conversion in Simulink and vice versa

42 views (last 30 days)
Hi!
I've been trying to find ways to convert decimal bytes to binary under Simulink (simmilar to Matlab's bin2dec and dec2bin), but I haven't figured out what block to use. For the time being, I coded my own simulink Dec<->Bin converter that works, but I think it is not very fast. Has anyone been able to do these conversions based on any Simulink blocks? Thanks, Paulo

Accepted Answer

Rick Rosson
Rick Rosson on 9 Feb 2012
Please see the following pages in the doc:
HTH.
  5 Comments
ghibeche
ghibeche on 30 Dec 2022
Hi i have questions " i want function like unit 64 but generate 56 bit"
Walter Roberson
Walter Roberson on 12 Nov 2024
Abhiraj Mangesh correctly notes, "Links do not exist any more, Links have been removed"
Current links are:

Sign in to comment.

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!