tbeu / matio

MATLAB MAT File I/O Library
https://matio.sourceforge.io
BSD 2-Clause "Simplified" License
334 stars 97 forks source link

function_handle type not supported by matio ? #101

Open Nelson-numerical-software opened 5 years ago

Nelson-numerical-software commented 5 years ago
A = str2func('cos')
save('function_handle.mat', 'A', '-v7.3')

data_type returns MAT_T_UNKNOWN and class_type returns MAT_C_EMPTY

does it return MAT_C_FUNCTION ? Do you expect also to support this type ?

Thanks for your work about matio :)

Nelson-numerical-software commented 5 years ago

if it can help scipy.io module can read function_handle