How can i read a text file?
    4 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
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');
2 comentarios
Respuestas (1)
  KSSV
      
      
 el 15 de Sept. de 2016
        To read a textfile there are multiple options available.
doc load, importdata, textscan etc.,
2 comentarios
  Walter Roberson
      
      
 el 15 de Sept. de 2016
				ContentOfFile = fileread('NameOfTheFileGoesHere.txt');
Ver también
Categorías
				Más información sobre Large Files and Big Data en Help Center y File Exchange.
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



