I'd like to load a MATLAB file that stores a 1x1 struct with 4 fields using Go. I haven't found anything comparable to Python's SciPy which has a "loadmat" function. What is the best way to read .mat files in Go?
You may have to write your own Go package. MathWorks suggests that you interface with their MATLAB MAT-file C API. To do that in Go, use cgo.
References:
No, there doesn't seem to be any project for reading MalLab files in pure Go (in CGo, see PeterSO's answer):
And, there were performance consideration as well, mentioned in "Go matrix library".
The discussion was more about calling go from Matlab.