So I have a cell array that equals {[]} because it's empty. How can I create an empty array equal to zero using an if then statement?
My attempt:
if strcmp(stopcodon1,'[]'); stopcodon1=0;end
It doesn't work at all.
null cell array
if strcmp(stopcodon1,'[]'); stopcodon1=0;end
Best Answer