Matlab grader problem error
Mostra commenti meno recenti
Could someone tell me the mistake I'm making?

2 Commenti
Torsten
il 19 Lug 2021
What error message do you get ?
Cristian Segura Bidermann
il 19 Lug 2021
Risposte (2)
Sameer Pujari
il 19 Lug 2021
try this
fileID = fopen('AwesomeFile.txt','w');
fprintf(fileID,'Matlab is awesome!');
fclose(fileID);
1 Commento
Cristian Segura Bidermann
il 19 Lug 2021
Cris LaPierre
il 19 Lug 2021
0 voti
Follow the advice in the problem description - review the documentation page for fprintf. Your code is not writing anything into the file.
2 Commenti
Cristian Segura Bidermann
il 19 Lug 2021
Cris LaPierre
il 19 Lug 2021
It's printing it to the screen. It is not, however, writing it to the file 'AwesomeFile.txt'.
Categorie
Scopri di più su Manage Products in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

