How can I get the names of files in a given folder name at Matlab?
You should use the dir
function. Like so:
allFiles = dir( 'c:\my\folder' );
allNames = { allFiles.name };
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With