Skip to content

Allow integer types for index variables #1

@marcsous

Description

@marcsous

In MappedTensor.m, you could generalize the validation check to allow all integer types (int16, int32, etc.). Line 1590: validateattributes(oRefs, {'numeric'}, {'integer', 'real', 'positive'});

For the validateattributes() function, Matlab's documentation states:

  "The string 'numeric' is an
   abbreviation for the classes uint8, uint16, uint32, uint64,
   int8, int16, int32, int64, single, double."

Works for me. Thanks for creating this file, it's a real improvement over memmapfile.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions