check the return code of fprintf...If disk became full while writing..?

fprintf return value

댓글 수: 2

when we use fprintf for a filewrite how we will check the current directory is full or have enough space for that operation.

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

답변 (1개)

Jos (10584)
Jos (10584) 2016년 10월 21일
count = fprintf(...)
Count will be less then expected when disk is full.

카테고리

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

태그

질문:

2016년 10월 21일

댓글:

2016년 10월 21일

Community Treasure Hunt

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

Start Hunting!

Translated by