a = fscanf(fid,`%g %g %g `, [3 inf])
Read from the file with a file id fid
Store the results in a matrix a(3,inf)
Each column read 3 floating point numbers
Read the file to the end inf
Other formats possible are %d %e %f %g %s. Also possible to add numbers between the % and the character.