Using load function unexpectedly deleting original .mat file
Show older comments
When I load variables into the workspace from a .mat file, MATLAB then deletes the original file.
Does anybody know why this is happening?
Thank you.
4 Comments
@Sam Firminger: please show us the complete output of this command:
which load -all
Please show us the text in a new comment, along with the relevant code that you are using when this bug occurs. Please post text and not screenshots.
Sam Firminger
on 23 Aug 2017
Image Analyst
on 23 Aug 2017
Is that the bad code, or the circumvented/working code? I don't see any line of code that would delete a .mat file, unless main() does it internally.
Sam Firminger
on 25 Aug 2017
Answers (0)
Categories
Find more on Environment and Settings 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!