Concatenate a char to every cell element - matlab -
The attached code below the filenames has a cell with file names, but without the fileholder (char).
How do I add them to a cell?
code
code
fileFolder = fullfile ('C: \ users \ llx1 \ desktop \ old data'); dirOutput = dir ( Fullfile (filefolder, '* .xls')); filename = {dirOutput.name}'
Are you looking for something like this?
fileNames = cellfun (@ (idx) full file (fileFolder, idx), {dirOutput name} ',' uni ', 0)
Comments
Post a Comment