You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Load a binary tensor generalizing the limit of fread to matrices: any dimension and major. The tensor can be stored in row or column major, and it can have an unspecified dimension. It can be used for loading data saved in numpy with tofile, or simply an image in raw form.
Interface:
D = binload(fid,type,xsize,loadall=1,order='column')
Cite As
Emanuele Ruffaldi (2026). Read tensor from binary file (https://www.mathworks.com/matlabcentral/fileexchange/61134-read-tensor-from-binary-file), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.2.0 (2.25 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
