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

c# - SignalR: "Protocol error: Unknown transport." when navigating to hub -

c# - WPF Expander overlay used in ItemsControl -

class - Kivy: how to instantiate a dynamic classes in python -