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)
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.

Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 11 Apr 2014
class='005'
trial='01'
filename=sprintf('%st%s.txt',class,trial)

More Answers (0)

Tags

No tags entered yet.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!