You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Fang,
I find this project useful for a current project. Below is a change I made that you might find helpful. I needed to serialize/deserialize function handles in Octave. I do not know if it will work with Matlab.
thanks @will-hill, I'd love to accept this update, but would prefer the change to be compatible with both matlab and octave. can you use this test as an example to refine your patch?
Hi Fang,
I find this project useful for a current project. Below is a change I made that you might find helpful. I needed to serialize/deserialize function handles in Octave. I do not know if it will work with Matlab.
182c182,185
< else
---
> elseif(is_function_handle(item))
> function_handle_struct = functions(item);
> txt=struct2json(name,function_handle_struct,level,varargin{:});
> elseif(ismatrix(item))
183a187,188
> else
> error('what is this object type?');
The text was updated successfully, but these errors were encountered: