Using load function unexpectedly deleting original .mat file
显示 更早的评论
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 个评论
@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
2017-8-23
Image Analyst
2017-8-23
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
2017-8-25
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Workspace Variables and MAT Files 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!