I wrote code to generate a file. Code ran successfully, output window shows data being written to file. But when i open file in MATLAB drive then file size shows 0KB and when i preview the file it doesn't reflect.
Is it a general observtaion that MATLAB online takes time to reflect changes to file created ?

 채택된 답변

Walter Roberson
Walter Roberson 2024년 12월 28일
이동: Cris LaPierre 2024년 12월 28일

0 개 추천

Did you remember to fclose() the file?

댓글 수: 2

Smile Guleria
Smile Guleria 2024년 12월 28일
이동: Cris LaPierre 2024년 12월 28일
Hey walter
your comment was life saviour. Thanks a lot man !
Image Analyst
Image Analyst 2024년 12월 28일
If this Answer solves your original question, then could you please click the "Accept this answer" link to award the answerer with "reputation points" for their efforts in helping you? They'd appreciate it. Thanks in advance. 🙂 Note: you can only accept one answer (so pick the best one) but you can click the "Vote" icon for as many Answers as you want. Voting for an answer will also award reputation points.
For full details on how to earn reputation points see: https://www.mathworks.com/matlabcentral/answers/help?s_tid=al_priv#reputation

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Standard File Formats에 대해 자세히 알아보기

질문:

2024년 12월 28일

댓글:

2024년 12월 28일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by