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