https://github.com/JuliaIO/MAT.jl
it looks like the usage should be:
using MAT;
F1 = matopen("path/test.mat")
T = read(F1, "T")
close(F1)
your original code doesn’t make sense because you’re close()ing a string and you don’t need to / can’t do that.