function fscanf_errortestcase

randvec = rand(5, 40000);
size(randvec)
fid = fopen("~/testfile.txt", "w");
fprintf(fid, '-5.0 99.0 %f %f %f %f %f\n', randvec);
fclose(fid);

fid = fopen("~/testfile.txt", "r");
randvec_io = fscanf(fid,'%f',[7 Inf]);
size(randvec_io)
fclose(fid);
