How to close a file outside of matlab?

3 Ansichten (letzte 30 Tage)
LiJian
LiJian am 27 Aug. 2012
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!

Antworten (1)

Babak
Babak am 27 Aug. 2012
Can fclose() close your file?
  2 Kommentare
Walter Roberson
Walter Roberson am 27 Aug. 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 am 28 Aug. 2012
Thank you for your answer.It‘s right. The fclose() is only appropriate for objects which have been fopen()'d.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Environment and Settings finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by