how to read a .txt file without change character of .txt file , it only change the first and last numeric data of the .txt file
1 view (last 30 days)
Show older comments
ramesha
on 11 Apr 2014
Answered: Azzi Abdelmalek
on 11 Apr 2014
Dear user,i have text file like this text file='005t01.txt'
in this file class=005; trial=01; i enter the class and trial values only so how to open the above text file.
0 Comments
Accepted Answer
Azzi Abdelmalek
on 11 Apr 2014
class='005'
trial='01'
filename=sprintf('%st%s.txt',class,trial)
0 Comments
More Answers (0)
See Also
Categories
Find more on Text Files in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!