Now you can access variables in the MAT-file as properties of matObj, with dot notation. Whos matObj Name Size Bytes Class Attributes To read in part of a variable, first you create a object that corresponds to a MAT-File, such as matObj = matfile( 'myBigData.mat') īy running whos you can see that matObj is a matlab.io.MatFile object: Perfect for trying out this new partial read functionality. Whos -file myBigData Name Size Bytes Class Attributes ![]() You can use the following to to see what variables are available in your MAT-file We have a MAT-file (myBigData.mat) that contains the variable X. But now - it is possible to load in parts of your variable. Previously, there was a way to read in separate variables fromĪ MAT-file but not load parts of a single variable. Memory than loading the entire contents of that variable. ![]() ![]() For you who are running into memory limits, loading part of a variable requires less The new matfile function in R2011b allows you to efficiently load or save to parts of variables to MAT-Files.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |