Binary conversion integer in Simulink

I know his very simple question. But still I'm struggling to convert Binary to Integer and vice versa to Simulink.

I could use a function block and use Matlab's built-in functions for this. But I intend to use Simulink blocks to convert a binary number to a decimal number.

Please suggest me how to do this, or any pointers online will be helpful.

+4
source share
2 answers

You can use the conversion block to convert between binary types (i.e. boolean ) and various integers ( int8 , uint8 , int16 , etc.) or floating point types ( single or double ).

+2
source

Source: https://habr.com/ru/post/1342787/


All Articles