[pathNames, dirNames, fileNames] = dirwalk('C:\Users\Windows\Desktop\FID RMN BASE DE DADOS\H\')
Make a string variable from a path in computer without have to type it manually
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
the path to reach the files in my computer is:
C:\Users\Windows\Desktop\FID RMN BASE DE DADOS\H\ioanis_NAME*OF*THE*SAMPLES_h.fid\procpar
C:\Users\Windows\Desktop\FID RMN BASE DE DADOS\H\ioanis_MC8R2_h.fid\procpar
C:\Users\Windows\Desktop\FID RMN BASE DE DADOS\H\ioanis_MC7F22_h.fid\procpar
C:\Users\Windows\Desktop\FID RMN BASE DE DADOS\H\ioanis_MC8RXADsaco2_h.fid\procpar
C:\Users\Windows\Desktop\FID RMN BASE DE DADOS\H\ioanis_ppt2_h.fid\procpar
How can i read only the name of the samples and make a variable < 4x??? char > withot have to type the name of the samples manually
its going to be like this str='NAME*OF*THE*SAMPLES';'MC8R2'; 'MC7F22';'ppt2'
0 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Characters and Strings en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!