How to close a file outside of matlab?

조회 수: 3 (최근 30일)
LiJian
LiJian 2012년 8월 27일
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!

답변 (1개)

Babak
Babak 2012년 8월 27일
Can fclose() close your file?
  댓글 수: 2
Walter Roberson
Walter Roberson 2012년 8월 27일
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 2012년 8월 28일
Thank you for your answer.It‘s right. The fclose() is only appropriate for objects which have been fopen()'d.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Environment and Settings에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by