for j = 1:(length(value)-1) t1 = value(j); t2 = value(j+1); if ~ strcmp {t1 , 'S100'} && strcmp {t2, 'S102'}
This doesn't work.
access elements of a cell array using if loop
for j = 1:(length(value)-1) t1 = value(j); t2 = value(j+1); if ~ strcmp {t1 , 'S100'} && strcmp {t2, 'S102'}
Best Answer