Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error with uint64 #49

Closed
aschoemann opened this issue Oct 21, 2018 · 0 comments
Closed

error with uint64 #49

aschoemann opened this issue Oct 21, 2018 · 0 comments

Comments

@aschoemann
Copy link

In v1.8.0 with R2018a:

a = uint64(1);
saveubjson('',a,'test.ubj');

yields the following error:

Error using histc
First Input type not supported
Error in saveubjson>matdata2ubjson (line 378)
id= histc(abs(max(mat(:))),[0 2^7 2^15 2^31 2^63]);
Error in saveubjson>mat2ubjson (line 297)
txt=matdata2ubjson(item,level+1,varargin{:});
Error in saveubjson>obj2ubjson (line 147)
txt=mat2ubjson(name,item,level,varargin{:});
Error in saveubjson (line 117)
json=obj2ubjson(rootname,obj,rootlevel,opt);
Error in Untitled2 (line 3)
saveubjson('',a,'test.ubj');

@fangq fangq closed this as completed in c3eb021 Nov 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant