MATLAB Answers

Melvin

.mat file

Asked by Melvin
on 6 Mar 2012
Accepted Answer by TAB

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

  0 Comments

Tags

Products

No products are associated with this question.

2 Answers

TAB
Answer by TAB
on 6 Mar 2012
 Accepted answer

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

See Custom Applications to Read and Write MAT-Files

  0 Comments


Answer by Walter Roberson
on 6 Mar 2012

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

  0 Comments


Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply today