Caught "std::exception" Exception message is: Error open a file stream for write.
Show older comments
I'm receiving this error with Matlab 2021b installed on a physical server, the same version of matlab on a different server is working fine. A way to consistently reproduce the issue is deleting directly a large amount of files without recycling them. I've already tried to uninstall, clean the Roaming directory and install back the Matlab.
2 Comments
Image Analyst
on 12 Feb 2022
Why are you calling fwrite()? What did you do? Just call the delete() function with "recycle off"? Do you have permisson on that server to do the deleting?
Giuseppe Galeone
on 12 Feb 2022
Answers (1)
Image Analyst
on 12 Feb 2022
Maybe try putting in
pause(0.2);
in case it's a timing issue.
1 Comment
Giuseppe Galeone
on 14 Feb 2022
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!