portable matfile exporter (in C)

版本 1.1.0.0 (3.9 KB) 作者: Malcolm McLean
Export matfiles from C programs, regardless of the platform the file is running on.
796.0 次下载
更新时间 2010/3/3

查看许可证

Sometimes it is convenient to export data as a binary matfile, so that it can be manipulated in Matlab. So here are two convenience functions to write matrices and strings. They don't rely on any Matlab libraries being available.

If your floating point unit is not ieee754 then the bits cannot simply be written out, so a portable floating point save routine has been provided. It handles NaNs, infinity, and denormalized numbers. So you can export mat files directly from a supercomputer running weird hardware, and you can write ANSI C programs knowing they will work correctly on every ANSI C compiler.

引用格式

Malcolm McLean (2024). portable matfile exporter (in C) (https://www.mathworks.com/matlabcentral/fileexchange/26731-portable-matfile-exporter-in-c), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2009b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Data Import and Analysis 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.1.0.0

Bug taken out. File now opened in binary mode.

1.0.0.0