MATLAB - File I/O
What is wrong with this MATLAB code?
fid = fopen('data.txt', 'w');
fprintf(fid, 'Number: %f\n', 3.14);fid = fopen('data.txt', 'w');
fprintf(fid, 'Number: %f\n', 3.14);15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions