[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 view (last 30 days)
Show older comments
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 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Characters and Strings in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!