Cannot Load .Mat file into workspace
5 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Shreeya
on 29 Aug 2023
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!
See Also
Categories
Find more on Data Import and Analysis 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!