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

fprintf return value

2 Comments

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

Sign in to comment.

Answers (1)

count = fprintf(...)
Count will be less then expected when disk is full.

Categories

Tags

Asked:

on 21 Oct 2016

Commented:

on 21 Oct 2016

Community Treasure Hunt

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

Start Hunting!