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 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I use fileread,regexp, and sprintf inside fopen and then finally use fclose
2 Commenti
Stephen23
il 8 Gen 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
il 8 Gen 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.
Risposte (0)
Vedere anche
Categorie
Scopri di più su Characters and Strings in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!