How can i read a text file?
Afficher commentaires plus anciens
Hi I am using rsa encryption of text message. During read of a message I want to read a text file? How can I read? Can u tell me? Here my code is
m=input('\nEnter the message: ','s');
Réponses (1)
KSSV
le 15 Sep 2016
0 votes
To read a textfile there are multiple options available.
doc load, importdata, textscan etc.,
2 commentaires
Sanjeeb Behera
le 15 Sep 2016
Walter Roberson
le 15 Sep 2016
ContentOfFile = fileread('NameOfTheFileGoesHere.txt');
Catégories
En savoir plus sur Large Files and Big Data dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!