portable matfile exporter (in C)

Export matfiles from C programs, regardless of the platform the file is running on.

이 제출물을 팔로우합니다

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 (2026). portable matfile exporter (in C) (https://kr.mathworks.com/matlabcentral/fileexchange/26731-portable-matfile-exporter-in-c), MATLAB Central File Exchange. 검색 날짜: .

카테고리

Help CenterMATLAB Answers에서 Data Import and Analysis에 대해 자세히 알아보기

일반 정보

MATLAB 릴리스 호환 정보

  • 모든 릴리스와 호환

플랫폼 호환성

  • Windows
  • macOS
  • Linux
버전 퍼블리시됨 릴리스 정보 Action
1.1.0.0

Bug taken out. File now opened in binary mode.

1.0.0.0