Cannot Load .Mat file into workspace
1 次查看(过去 30 天)
显示 更早的评论
I have been saving data into a structure variable, then loading the variable whenever i want to append new data to the file.
as of a few days ago, trying to load the file throws the following error:
Error using load
Cannot read file fillerfilename.mat
This file is large ~310MB
the file is saved as a v7.3
0 个评论
回答(1 个)
Shreeya
2023-8-29
Hi Nicholas
I undersand that you cannot load a file into the MATLAB workspace due to large memory requirements.
You can try using the "matfile" function. This function returns an object connected to the mat file, which allows access to the data without loading the entire file in the workspace. Refer to the examples in the documentation below for further details and implementation.
Hope this helps!
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Database Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!