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.
Joel Hoff (2023). Protected Function (P-code) Dependency Analysis Tool (https://www.mathworks.com/matlabcentral/fileexchange/62367-protected-function-p-code-dependency-analysis-tool), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!