Accessing data in matfile.
1 view (last 30 days)
Amit Chakraborty on 6 Jul 2021
I have a matrix called miu. And the size of miu is ::: 262144x1 double
To save the memory purpose I have used:
miu.Properties.miu(ind) %% To access the data I have used the line
Error Message: Unrecognized method, property, or field 'miu' for class 'matlab.io.matfile.Properties'.
Can anyone give me some clarification and probable solution regarding this problem?
Rishik Ramena on 14 Jul 2021
Yeah, you are intending to address the object itself and not the Properties of the object.
value = miu.miu(ind);
This should be what you wanted to do. For more information on MAT files and their usage, check out this example here.