MATLAB - File I/O
Identify the error in this MATLAB code snippet:
fid = fopen('log.txt', 'r');
fprintf(fid, 'Test\n');
fclose(fid);fid = fopen('log.txt', 'r');
fprintf(fid, 'Test\n');
fclose(fid);15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions