I have installed MAT.jl package to read variables from .mat file.
When I use the following syntax. I got the error. How to resolve it?
using MAT
file = matopen("subject3455session6.mat")
read(file, "varname")
close(file)
Info: Precompiling MAT [23992714-dd62-5051-b70f-ba57cb901cac]
└ @ Base loading.jl:1260
WARNING: could not import HDF5.exists into MAT
File “subject3455session6.mat” does not exist and create was not specified
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] matopen(::String, ::Bool, ::Bool, ::Bool, ::Bool, ::Bool, ::Bool) at /home/rakesh/.julia/packages/MAT/wBZA8/src/MAT.jl:44
[3] matopen(::String, ::String; compress::Bool) at /home/rakesh/.julia/packages/MAT/wBZA8/src/MAT.jl:88
[4] matopen at /home/rakesh/.julia/packages/MAT/wBZA8/src/MAT.jl:88 [inlined]
[5] #matopen#2 at /home/rakesh/.julia/packages/MAT/wBZA8/src/MAT.jl:97 [inlined]
[6] matopen(::String) at /home/rakesh/.julia/packages/MAT/wBZA8/src/MAT.jl:97
[7] top-level scope at In[1]