.mat file

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

 Risposta accettata

TAB
TAB il 6 Mar 2012

0 voti

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

Più risposte (1)

Walter Roberson
Walter Roberson il 6 Mar 2012

0 voti

.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.

Community Treasure Hunt

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

Start Hunting!

Translated by