在Julia中using MAT出错


#1

julia> using MAT
[ Info: Precompiling MAT [23992714-dd62-5051-b70f-ba57cb901cac]
ERROR: LoadError: LoadError: syntax: extra token “MatlabHDF5File” after end of expression
Stacktrace:
[1] include at ./boot.jl:317 [inlined]
[2] include_relative(::Module, ::String) at ./loading.jl:1038
[3] include at ./sysimg.jl:29 [inlined]
[4] include(::String) at /home/users/xdlan/.julia/packages/MAT/Pn0pR/src/MAT.jl:27
[5] top-level scope at none:0
[6] include at ./boot.jl:317 [inlined]
[7] include_relative(::Module, ::String) at ./loading.jl:1038
[8] include(::Module, ::String) at ./sysimg.jl:29
[9] top-level scope at none:2
[10] eval at ./boot.jl:319 [inlined]
[11] eval(::Expr) at ./client.jl:389
[12] top-level scope at ./none:3
in expression starting at /home/users/xdlan/.julia/packages/MAT/Pn0pR/src/MAT_HDF5.jl:39
in expression starting at /home/users/xdlan/.julia/packages/MAT/Pn0pR/src/MAT.jl:31
ERROR: Failed to precompile MAT [23992714-dd62-5051-b70f-ba57cb901cac] to /home/users/xdlan/.julia/compiled/v1.0/MAT/3FHIv.ji.
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] macro expansion at ./logging.jl:313 [inlined]
[3] compilecache(::Base.PkgId, ::String) at ./loading.jl:1184
[4] _require(::Base.PkgId) at ./logging.jl:311
[5] require(::Base.PkgId) at ./loading.jl:852
[6] macro expansion at ./logging.jl:311 [inlined]
[7] require(::Module, ::Symbol) at ./loading.jl:834
请问这是什么原因,应该如何处理


#2

试试MATLAB库,julia matlab的交互


#3

用这个分支 ] add MAT#340a279393eba3f237376474ab5624cb84b9a840


#4

thank you very much. It’s solved