开发者

Integer to Binary Conversion in Simulink

开发者 https://www.devze.com 2023-02-15 23:28 出处:网络
I know its a very basic question. But still, I am struggling to convert Binary to Integer and vice-versa in Simulink.

I know its a very basic question. But still, I am struggling to convert Binary to Integer and vice-versa in Simulink.

I could use a function block and use inbuilt Matlab functions to do it. But I, intend to use the Simulink blocks to convert Binary to decimal number.

Pl开发者_StackOverflowease suggest me how to do it or any pointers in the internet would be helpful.


You can use a Conversion block to convert back and forth between binary (i.e. boolean) types and various integer (int8, uint8, int16, etc.) or floating point (single or double) types.


I think this is what you're looking for:

How do I visualize the fixed-point data in binary or hex format using Simulink?

0

精彩评论

暂无评论...
验证码 换一张
取 消