C-MEX Programming Tutorial Examples

This submission contains several C scripts that help as an introduction to C-MEX programming.

You are now following this Submission

Editor's Note: This file was selected as MATLAB Central Pick of the Week

Contains some basic 2d matrix manipulation functions written in C, and demonstrates the fundamental C-MEX function generation programming requirements.

Cite As

Ilias Konsoulas (2026). C-MEX Programming Tutorial Examples (https://ch.mathworks.com/matlabcentral/fileexchange/44163-c-mex-programming-tutorial-examples), 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.1.0.0

In the pictorial description of this set of files, I included a developer's screenshot to make it a bit more attractive.

1.0.0.0