Read Structure From C header file

This function can create a Matlab structure that match a structure from C header file (.h file)

Download
Download

You are now following this Submission

Cite As

Lior Alpert (2026). Read Structure From C header file (https://www.mathworks.com/matlabcentral/fileexchange/75210-read-structure-from-c-header-file), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with R2016b and later releases

Platform Compatibility

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

Small fix that prevent potential error with some comments in the C header

Download
1.0.1

1. I have added support in 'bool' type
2. Add an example

Download
1.0.0

Download