MATLAB: Dir(cd) dir What does dir(cd) stand for? files = dir(cd); Best Answer dir is a function that takes a look in a determined folder (and subfolder if you command).cd without arguments is your actual locationdir(cd) would bring you all the files in your actual location.files = dir(cd);Will return a struct with name of the file, folder,a boolean value about if it is a folder or not, and its modification date.Hope it helps! Related SolutionsMATLAB: Cd work What do you get withwhich -all cdIt should be something like:built-in (/usr/local/matlab/r2010b/toolbox/matlab/general/cd)/usr/local/matlab/r2010b/toolbox/matlab/iofun/@ftp/cd.m % ftp method MATLAB: Using dir with multiple wildcards for directories Leo - look in the File Exchange for a recursive directory listing submission. One such example is rdir. Related QuestionCd funtionDir problemUsing dir in evalcError using cd, Cannot CD
Best Answer