hello every one,who can help me to solve this error."Cell contents assignment to a non-cell array object." emails=['ibadal@gmail.com';'qzaman@msn.com';'dfoorno@msn.com';'myey@hotmail.com';'qkemal@myspace.com';'zvarfi@gmail.com';'vlul@mynet.com';'uwardo@msn.com';'izaman@hotmail.com''htimiro@myspace.com']; data=[2 0 2; 0 0 0;0 0 0; 0 2 0;0 0 0; 0 0 13;0 0 18]; test=cellfun(@(c)sprintf('%d',c),mat2cell(data,ones(size(data,1),1),size(data,2)),'uniform',false);for steg_col=1:length(emails) admin=1;[e_names(admin,steg_col),e_address(admin,steg_col)]=strtok(k1(steg_col),'@');end[str_gr_row,str_gr_col]=size(test); for ob=1:str_gr_col for mr=1:str_gr_row elists{mr,ob}=test{mr,ob}; if(elists(mr,ob)==0) kmk(mr,ob)=strcat(e_names(mr,ob),e_address(mr,ob)) else kmk(mr,ob)=strcat(e_names(mr,ob),elists(mr,ob),e_address(mr,ob)) end end end
MATLAB: How i can solve this error ”Cell contents assignment to a non-cell array object”.
cell arrays
Best Answer