gd & buildMatTable: a reflective solution, one-command read of .mat file into Fortran programs

A convenient solution to use MATLAB as input interface in Fortran

You are now following this Submission

This piece of code provides a convenient solution for developers who want to conveniently read all the content of a MATLAB file into memory in Fortran.
It contains two components: gd and buildMatTable. gd constructs a pseudo-MATLAB data structure in Fortran, and it simplifies the data management and I/O in Fortran-code development. BuildMatTable then lets the user to read all from the .mat file into memory with a single command, with the assistance of gd. The assembly of the data structure is completely automatic and recursive.

Cite As

WhoAreWe (2026). gd & buildMatTable: a reflective solution, one-command read of .mat file into Fortran programs (https://www.mathworks.com/matlabcentral/fileexchange/65187-gd-buildmattable-a-reflective-solution-one-command-read-of-mat-file-into-fortran-programs), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0

update the description