Skip to content

Is there a way to write DateTime values to a MAT file please? #82

@RobBlackwell

Description

@RobBlackwell
using MAT
matwrite("foo.mat", Dict("now" => now()))

results in

ERROR: This is the write function for CompositeKind, but the input doesn't fit
Stacktrace:
 [1] m_write at /home/reb/.julia/v0.6/MAT/src/MAT_HDF5.jl:514 [inlined]
 [2] write(::MAT.MAT_HDF5.MatlabHDF5File, ::String, ::DateTime) at /home/reb/.julia/v0.6/MAT/src/MAT_HDF5.jl:530
 [3] matwrite(::String, ::Dict{String,DateTime}) at /home/reb/.julia/v0.6/MAT/src/MAT.jl:156

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions