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

1 vue (au cours des 30 derniers jours)
lafnath p
lafnath p le 21 Oct 2016
Commenté : lafnath p le 21 Oct 2016
fprintf return value
  2 commentaires
KSSV
KSSV le 21 Oct 2016
what?
lafnath p
lafnath p le 21 Oct 2016
when we use fprintf for a filewrite how we will check the current directory is full or have enough space for that operation.

Connectez-vous pour commenter.

Réponses (1)

Jos (10584)
Jos (10584) le 21 Oct 2016
count = fprintf(...)
Count will be less then expected when disk is full.

Catégories

En savoir plus sur Environment and Settings dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by