How to import randomly named files from a folder into different matrices
1 view (last 30 days)
I have the same problem as stated here https://se.mathworks.com/matlabcentral/answers/1810-opening-files-with-randomly-varying-file-names, but the problem is to go further from Olegs answer. Once I have the matrix called names, how to I add the matrix content into a path directory ( for example like
Matrix = fopen('C:\Users\Oleg\Desktop\Nuova cartella\names(1)');
where names(1) should be transfered into the name of the file currently in names(1).
Andy on 1 Jul 2019
If I understand correctly, try
Of course, they can be combined into one line.
Hope this is what you are after.