mexgen

Automatically generate C++ mex files.

You are now following this Submission

This utility allows you to create scripts that may in turn be used to generate C++ files and M-files. The C++ files may then be compiled into mex-files. The M-files are used to document the functions contained in the mex-files.

The utility comes with several examples that show you how to use it.

Cite As

Jeff Perry (2026). mexgen (https://www.mathworks.com/matlabcentral/fileexchange/7062-mexgen), 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