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 (최근 30일)
이전 댓글 표시
I use fileread,regexp, and sprintf inside fopen and then finally use fclose
댓글 수: 2
Stephen23
2018년 1월 8일
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
2018년 1월 8일
"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.
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Characters and Strings에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!