Using load function unexpectedly deleting original .mat file
6 views (last 30 days)
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
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.
Answers (0)
See Also
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!