Matlab grader problem error
이전 댓글 표시
Could someone tell me the mistake I'm making?

답변 (2개)
Sameer Pujari
2021년 7월 19일
try this
fileID = fopen('AwesomeFile.txt','w');
fprintf(fileID,'Matlab is awesome!');
fclose(fileID);
Cris LaPierre
2021년 7월 19일
0 개 추천
Follow the advice in the problem description - review the documentation page for fprintf. Your code is not writing anything into the file.
댓글 수: 2
Cristian Segura Bidermann
2021년 7월 19일
Cris LaPierre
2021년 7월 19일
It's printing it to the screen. It is not, however, writing it to the file 'AwesomeFile.txt'.
카테고리
도움말 센터 및 File Exchange에서 Manage Products에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

