Hi All,
I'm trying to analyse a bunch of files that have filenames like "1 crop 1, area - 122637", "1 crop 2, area - 88497" etc.
I need to store the numbers proceeding "area - " as a number and sum them for all the files within a folder.
Is this possible?
Thanks
2 Comments
Direct link to this comment
https://au.mathworks.com/matlabcentral/answers/523230-how-can-you-read-a-filename-but-store-a-specific-number-within-it#comment_841849
Direct link to this comment
https://au.mathworks.com/matlabcentral/answers/523230-how-can-you-read-a-filename-but-store-a-specific-number-within-it#comment_841849
Direct link to this comment
https://au.mathworks.com/matlabcentral/answers/523230-how-can-you-read-a-filename-but-store-a-specific-number-within-it#comment_841856
Direct link to this comment
https://au.mathworks.com/matlabcentral/answers/523230-how-can-you-read-a-filename-but-store-a-specific-number-within-it#comment_841856
Sign in to comment.