Changing file name in Matlab
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Tanmoyee Bhattacharya
el 19 de Jun. de 2015
Comentada: Tanmoyee Bhattacharya
el 19 de Jun. de 2015
I nave a file named wflux_23.25_86.75.I have to change the name of the file as data_23.25_86.75.How can we do this in Matlab.
0 comentarios
Respuestas (1)
Mischa Kim
el 19 de Jun. de 2015
Tanmoyee, use the strrep command
str = 'wflux_23.25_86.75';
str_new = strrep(str, 'wflux', 'data')
str_new =
data_23.25_86.75
2 comentarios
Ver también
Categorías
Más información sobre Startup and Shutdown en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!