JuliaIO / MAT.jl

Julia module for reading MATLAB files
MIT License
278 stars 76 forks source link

hope to support Vector{Tuple}! #199

Open 13299118606 opened 1 week ago

13299118606 commented 1 week ago

I hope to support tuple methods, because tuple vectors are very efficient in Julia. In many cases, tuple vectors Vector{Tuple{Float64, Float64, Float64}} are used instead of Vector{Vector{Float64}}, but errors occur when saving tuples

matwrite("matfile.mat", Dict("tu"=>(1,2,3)))

matwrite("matfile.mat", Dict("tu"=>(1,2,3)))
ERROR: This is the write function for CompositeKind, but the input doesn't fit