Matlab grader problem error
古いコメントを表示
Could someone tell me the mistake I'm making?

2 件のコメント
Torsten
2021 年 7 月 19 日
What error message do you get ?
Cristian Segura Bidermann
2021 年 7 月 19 日
回答 (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!

