MATLAB: Binary string to character string

I have first converted a text message to binary… Now I want to reverse back the binary string to character string.
Msg = dec2bin[input('text=', 's']
Now when m trying bin2dec.. M not getting the text msg.

Best Answer

char(bin2dec(Msg))'