MATLAB: Binary to Decimal conversion in Simulink and vice versa

bin2decbinaryconversiondec2bindecimalsimulink

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

Best Answer

Please see the following pages in the doc:
HTH.