Binary to Decimal conversion in Simulink and vice versa
130 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
采纳的回答
Rick Rosson
2012-2-9
4 个评论
Amee Badiani
2016-8-20
Hello Sir,
My data is decimal(6.024, 4.267,....)How shall I convert that? I tried using the suggested blocks but its not working.!
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 String 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!