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

2 visualizaciones (últimos 30 días)
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.

Respuesta aceptada

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

Más respuestas (0)

Etiquetas

Aún no se han introducido etiquetas.

Community Treasure Hunt

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

Start Hunting!

Translated by