Code covered by the BSD License  

Highlights from
deploypcode

Be the first to rate this file! 3 Downloads (last 30 days) File Size: 1.96 KB File ID: #26917

deploypcode

by Sven Holcombe

 

11 Mar 2010

DEPLOYPCODE recursively scans a dir, creating pcode versions of all .m files in that directory

| Watch this File

File Information
Description

% Usage:
% deploypcode('c:\matlab\_includes\sahm','U:\SAHM\matlab\_includes\sahm')
%
% Note: Any .fig files found in the source directories will be COPIED to
% the target directory
%
% written by Sven Holcombe 11 Mar 2009

Authors note: While I don't encourage unnecessary obfuscation of code (it would be against the spirit of this file exchange), I required a tool such as this as part of my work. Since it may be useful to others, I thought I'd upload it for all.

It is not a complete tool, as it currently ignores private directories (yet includes class directories), and I would like to add the ability to specify particular files to copy without pcode-ifying them. Any improvements would be welcome.

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
genpath_exclude

MATLAB release MATLAB 7.10 (2010a)
Other requirements genpath_recurse.m, #22209
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
pcode Sven Holcombe 12 Mar 2010 10:21:20
utility Sven Holcombe 12 Mar 2010 10:21:20

Contact us at files@mathworks.com