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

python - Strange behavior using PyQt4's 'pyqtSlot' decorator before another decorator -

c# - UnhandledExceptionMode.ThrowException for AppDomain.UnhandledException -

c# - Process.Kill() returns access denied -