I'm new to MATLAB and I'm trying to convert the text in a .txt file to binary digits ( 0's and 1's ). How do I do it ?
5 views (last 30 days)
Vaibav Reddy on 27 Jul 2022
converting_texttobinary = text2bin('encryptedMes.txt');
I created a .txt file and tried to convert the text in the textfile to binary digits by using the method 'text2bin'. But my code doesn't seem to run. Can you please help me with it. Thank you.