Recursively Replace all M Files with P Files

Save time generating p-code.

You are now following this Submission

Provide a top-level directory and code will traverse all directories, replacing m-files with p-files.

Your m-files will be lost, so back up the directory you are running this on if you want to keep your source code.

Cite As

Oliver (2026). Recursively Replace all M Files with P Files (https://se.mathworks.com/matlabcentral/fileexchange/27984-recursively-replace-all-m-files-with-p-files), 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