It worked with: X = Z(:,1); Y = Z(:,2); What is the difference between fscanfMat and read? Shold I always use fscanfMat? (except maybe if I want to use Fortran format?) Thank you. :) fvogelnew1 at free.fr escreveu: >Selon André Victória <avic at bios.srv.br>: > > > >>What should I do? >> >> > >Use fscanfMat instead. > >Francois > > >