How to only extract part of the folder name?
9 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
muhammad choudhry
am 14 Jan. 2022
Kommentiert: Matt J
am 15 Jan. 2022
Hi,
I have a folder name: Run 12-27-56.Adaptive PIV.6uqqm6yu
I only want to extract the 12-27-57 (only the nulber part) How would I do that ?
I have like around 26 folfers like that and I want to only extract number part.
Any help would be appreciated. Thanks in advance.
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (1)
Voss
am 14 Jan. 2022
Here is one way:
folder_name = 'Run 12-27-56.Adaptive PIV.6uqqm6yu';
folder_number = folder_name(find(folder_name == ' ',1)+1:find(folder_name == '.',1)-1)
0 Kommentare
Siehe auch
Kategorien
Mehr zu Image Segmentation and Analysis finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!