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)
I use fileread,regexp, and sprintf inside fopen and then finally use fclose
  2 Commenti
Stephen23
Stephen23 il 8 Gen 2018
libra's "Answer" moved here:
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
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.

Accedi per commentare.

Risposte (0)

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!

Translated by