Makefile like script

Conditionally compile all "./util/*.cpp" MEX files

You are now following this Submission

This script is a simple example of how you can obtain Makefile like functionalities inside Matlab.
This is to be considered an example to be tailored to your needs. In my case I wanted to compile all c++ MEX file in the ./util folder of my toolbox.

Feedback is appreciated.

Cite As

Andrea Tagliasacchi (2026). Makefile like script (https://se.mathworks.com/matlabcentral/fileexchange/19032-makefile-like-script), 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