On Wednesday, 6 March 2019 at 11:38:22 UTC+1,
[email protected] wrote:
On Tuesday, July 11, 2017 at 10:04:16 PM UTC+2, Igor wrote:
Hi Chetan,
It's not related to source control (at least for me). I've reported this bug to [email protected] a while ago and they were able to reproduce it and confirmed it's a "bug in a 3rd party library" (chromium???). They said they hope it would be fixed
in some future version of this library.
"Chetan" wrote in message <ok34fj$162$[email protected]>...
n o s p a m p l e a s e <[email protected]> wrote in message <[email protected]>...
I have a code that looks as follows:
---------------mytest.m--------------
clear all;
delete report.txt
fid = fopen('report.txt','a');
fprintf(fid, '\n %7d',refBus);
fclose(fid);
----------------------------------------
In the above code deletion of report.txt is not carried out. I get the warning below.
Warning: File not found or permission denied
Even manually I cannot delete this file unless I close Matlab. What can I do to delete this file without closing Matlab?
NSP
If you have source control enabled then MATLAB won't allow you to delete the file.
Disable it at Home/preferences/General/Source control -> None
I have this same problem in Matlab R2018a and R2018b, but i can workaround it by shutting down the parallel pool before accessing the diary file (i actually move the file). This seems to always work for me....
For 2022b use: fclose('all') before calling delete function it works.
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)