.mat file

Hi. How can I edit or make a .mat file? Hope someone will reply thank you.

 Accepted Answer

TAB
TAB on 6 Mar 2012

0 votes

You can use MAT-file interface library to read & write MAT files from standalone C or Fortran code.

More Answers (1)

Walter Roberson
Walter Roberson on 6 Mar 2012

0 votes

.mat files are binary files that cannot be edited with a regular editor. If you knew the exact binary format it would be possible to write in new data.
The ABI documentation describes the binary format and describes a (Mathworks-provided) C library that can be used to create the files.

Tags

Asked:

on 6 Mar 2012

Community Treasure Hunt

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

Start Hunting!