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 次查看(过去 30 天)
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.

采纳的回答

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

更多回答(0 个)

标签

尚未输入任何标签。

Community Treasure Hunt

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

Start Hunting!

Translated by