At below line, I am getting error: "Dot indexing is not supported for variables of this type." what could be the possible reason?
app.idx = listdlg('ListString', {sFOLDERS(:).name}, 'SelectionMode', 'single', …
'ListSize', [160,90]*4);
here sFOLDER is defined as;
app.sFOLDERS = dir(PTH);
app.sFOLDERS = app.sFOLDERS(…
[app.sFOLDERS.isdir] & …
~strcmp({app.sFOLDERS.name},'.') & … % to remove entry '.'
~strcmp({app.sFOLDERS.name},'..') ); % and entry '..'
Best Answer