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

Popular posts from this blog

sql - Find last match with latest inserted name in table -

c# - XML serialize base class without knowing derived class -

ios - Invalid IPA: missing embedded provisioning profile. Are you sure this is an ad hoc? -