How to close a file outside of matlab?

I want to close a file(help.doc)outside of matlab using the command of matlab. This file was through the winopen() command to open. Thanks!

Réponses (1)

Babak
Babak le 27 Août 2012

0 votes

Can fclose() close your file?

2 commentaires

Walter Roberson
Walter Roberson le 27 Août 2012
No, fclose() would not be appropriate for something that was opened using winopen(). fclose() is only appropriate for objects which have been fopen()'d.
LiJian
LiJian le 28 Août 2012
Thank you for your answer.It‘s right. The fclose() is only appropriate for objects which have been fopen()'d.

Connectez-vous pour commenter.

Catégories

En savoir plus sur File Operations dans Centre d'aide et File Exchange

Tags

Question posée :

le 27 Août 2012

Community Treasure Hunt

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

Start Hunting!

Translated by