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

fprintf return value

2 Kommentare

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

Melden Sie sich an, um zu kommentieren.

Antworten (1)

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

Kategorien

Tags

Gefragt:

am 21 Okt. 2016

Kommentiert:

am 21 Okt. 2016

Community Treasure Hunt

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

Start Hunting!

Translated by