Skip to content

error with uint64 #49

@aschoemann

Description

@aschoemann

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');

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions