Skip to content

Commit 2087930

Browse files
committed
Avoid error with MATLAB classes that we can't handle
1 parent 377b83b commit 2087930

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/MAT_HDF5.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,9 @@ function m_read(dset::HDF5Dataset)
169169
end
170170
end
171171
return out
172+
elseif !haskey(str2type_matlab,mattype)
173+
@warn "MATLAB $mattype values are currently not supported"
174+
return missing
172175
end
173176

174177
# Regular arrays of values

0 commit comments

Comments
 (0)