Matlab grader problem error
Mostrar comentarios más antiguos
Could someone tell me the mistake I'm making?

2 comentarios
Torsten
el 19 de Jul. de 2021
What error message do you get ?
Cristian Segura Bidermann
el 19 de Jul. de 2021
Respuestas (2)
Sameer Pujari
el 19 de Jul. de 2021
try this
fileID = fopen('AwesomeFile.txt','w');
fprintf(fileID,'Matlab is awesome!');
fclose(fileID);
1 comentario
Cristian Segura Bidermann
el 19 de Jul. de 2021
Cris LaPierre
el 19 de Jul. de 2021
0 votos
Follow the advice in the problem description - review the documentation page for fprintf. Your code is not writing anything into the file.
2 comentarios
Cristian Segura Bidermann
el 19 de Jul. de 2021
Cris LaPierre
el 19 de Jul. de 2021
It's printing it to the screen. It is not, however, writing it to the file 'AwesomeFile.txt'.
Categorías
Más información sobre Manage Products en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

