I want to load a mat file from matlab and convert it to Julia matrix. Currently I can read the file but I don’t know how to extract the matrix inside the mat file
using MAT
A = matread(“MyMatrix.mat”)
I want to load a mat file from matlab and convert it to Julia matrix. Currently I can read the file but I don’t know how to extract the matrix inside the mat file
using MAT
A = matread(“MyMatrix.mat”)
I think normally matread
returns a dictionary. Try using e.g. keys(A)
to see what the available keys are and then extract one with, e.g. A["some_key_value"]