.mat file
10 views (last 30 days)
Show older comments
Hi. How can I edit or make a .mat file? Hope someone will reply thank you.
0 Comments
Accepted Answer
TAB
on 6 Mar 2012
You can use MAT-file interface library to read & write MAT files from standalone C or Fortran code.
0 Comments
More Answers (1)
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
See Also
Categories
Find more on Workspace Variables and MAT-Files in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!