arrays - How to fix this "out of memory error " in MATLAB? -
two of lines in code, commented below, throw "out of memory error". can corrected?
[x1,x2]=textread(tline,'%u,%u'); x1 , x2 contains integer value % disp(x1); % disp(x2); previousmovie = nextmovie; nextmovie = x1; allmovies = [allmovies x1]; ///////// error in line if(iline ==1) if((nextmovie ~= previousmovie) & (previousmovie==0)) currentgenres = x2; end end if(nextmovie == previousmovie) currentgenres = [currentgenres x2];///////// in line error end
Comments
Post a Comment