Protected Function (P-code) Dependency Analysis Tool

This tool enables P-code to be used in compiled apps without access to original MATLAB code.
Updated 13 Apr 2017

View License

This tool supports distribution of protected functions (P-code) that can be used to create applications via the MATLAB Compiler. Since the MCC command cannot analyze P-files directly to identify their dependencies, this tool supports a way for MATLAB authors to capture this dependency information into a single separate MATLAB program file that can be distributed with their P-files.
The tool analyzes MATLAB program files to identify their dependencies and writes these out as function pragmas into a separate MATLAB file. The latter pragma file when combined with P-coded versions of the original MATLAB program files can be used with the MATLAB Compiler to create standalone applications without access to the original MATLAB code.

Cite As

Joel Hoff (2024). Protected Function (P-code) Dependency Analysis Tool (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Adding custom doc in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes