On Friday, June 10, 2016 at 1:20:54 PM UTC-4, Steven Lord wrote:
><
paul.domaskis_AT_gmail.com> wrote:
>> I've got my diary being echoed to a text file. After I issue
>> "diary off", I am still unable to delete the file.
>
> Are you deleting the file using the DELETE function in MATLAB, your
> OS's commands, or some sort of UI like Windows Explorer?
I use Cygwin's bash and issue:
'rm' -f myDiaryFile.txt
> What happens when you try to delete it? If you receive some sort of
> error, what is the text of that error?
> Does you still have the file open in the MATLAB Editor or some other
> application?
No, the file is not open in any sense, to my knowledge.
Unfortunately, it's hard to make the error happen at will, though it
does happen often. It's just not happening at the moment, so I regret
that I can't respond to the questions above. However, the error
message goes something like "resource busy". It's probably Cygin's
bash relaying complaints from Windows.