I have opened a xyz.txt file in write mode .I want to print text in xyz.txt file (to be print data is in words/strings) I use fprintf and sprintf both but didn't work . Also I want to use regexp to convert sentences to words ,each in a new line , I
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I use fileread,regexp, and sprintf inside fopen and then finally use fclose
2 comentarios
Stephen23
el 8 de En. de 2018
Also I want to use regexp to convert sentences to words ,each in a new line , I did it but I want to remove alpha numeric words from my sentences.how can I modify my 'expressions ' of regexp.and write it in xyz.txt file
Stephen23
el 8 de En. de 2018
"how can I modify my 'expressions ' of regexp.and write it in xyz.txt file"
Read the documentation for each function that you are using and use the functions correctly to achieve what you want.
If you want help with this then show us what you have tried so far.
Respuestas (0)
Ver también
Categorías
Más información sobre Characters and Strings 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!