I am trying to read an excel sheet and then and find cells that are not empty and have date information in them by finding two '/' in a string but matlab keeps to erroring on handling cell type "Undefined operator '~=' for input arguments of type 'cell'." "Undefined function 'string' for input arguments of type 'cell'." "Undefined function 'char' for input arguments of type 'cell'."
MyFolderInfo = dir('C:\');
filename = 'Export.xls';
[num,txt,raw] = xlsread(filename,'A1:G200');
for i = 1:length(txt)
if ~isnan(raw(i,1))
if sum(ismember(char(raw(i,1)),'/')) == 2
A(i,1) = raw(i,1);
end
end
end
please help fixing it