Any proficient Matlab users out there?
I have a batch image processing program (mostly done by my friend as my Matlab skills are reasonably basic and limited to functions really) and currently it only looks for .tiff files in folders that are two tiers down from the parent folder. However I want to change it so that it will look four tiers down for image files.
I think this is the code where that needs to be changed but I can't be sure...
if bri == 1 || col == 1 || cone == 1 || pen == 1 || turb == 1 || std == 1;
imPath = char([get(handles.edit1,'String')]);
folderList = get(handles.listbox1, 'String');
len = length(folderList);
set(handles.edit4, 'String', len);
for i = 1
ength(folderList);
set(handles.edit3, 'String', i);
fileList = dir(char([imPath,'',char(folderList(i)),'*.cih'])); % select folder path to search for .cih files
fileName = char([{fileList.name}]);
imFile = fileName(1:end-4); % get file name without number
TIFs = dir(char([imPath,'',char(folderList(i)),'*.tif']));
TIFNames = {TIFs.name};
I can email someone the set of Matlab files if that helps.
Post edited at 13:25