About Site Map Submit Contact Us Log in | Create an account
Create an account Log In
Average Rating
User Rating:
Visitors Rating:
My rating:

Write review
  • Last update: 5 years ago
  • Total downloads: 27
  • Operating system: Linux, Mac OS X, Win All, BSD, Solaris
  • Publisher: Sven (26 other programs)
See full specifications

scripts default icondeploypcode - recursively pcode files with help attached (Scripts) Publisher's description

DEPLOYPCODE recursively searches a directory for .m files, creating encrypted .p files with .m help

DEPLOYPCODE recursively searches a directory for .m files, creating encrypted .p files with .m help
This entry is ideal for those who have a project they need to deploy to P-files, but they want to retain HELP contents for all of their deployed files.
SAHMDEPLOYPCODE recursively creates p-code versions of m-files in a given folder

SAHMDEPLOYPCODE(SOURCE, TARGET) will recursively search the SOURCE folder for all .m files and
deploy them as P-files to the TARGET folder using default options below.

SAHMDEPLOYPCODE(..., 'PropertyName',VALUE,'PropertyName',VALUE,...) uses the following options
when deploying p-code:

'recurse' - When true (default) will recursively deploy p-code from SOURCE folder.

'ignoreStrings' - String or cell array of strings of filenames to ignore. Regular expression
syntax is used.

'ignoreSVN' - Addition true/false option to ignore ".svn" directories. Equivalent to
adding {'.svn'} to "ignoreStrings". Defaults to true for convenience.

'includeHelp' - MATLAB's pcode() removes all comments including the help section from
files when run. Setting this option to true (default) will export an
additional .m file containing only the help contents of the file being
deployed. This means that myFunction.m will be deployed to myFunction.p,
but calling "help myFunction" will still return help text.

'updateOnly' - When true, destination p-files will only be created if they don't yet
exist or are older than the m-file being encoded. Defaults to false.

'copyFigFiles' - When true (default), .fig files will be copied to TARGET folder without
encryption. This allows GUIs based on a .fig file to operate after

'flattenFileTree' - When true (default), regular m-files are deployed as p-files only to the
TARGET folder initially provided (rather than under any subdirectories).
When this option is set to FALSE, the file structure under the SOURCE
directory will be replicated at the TARGET.


written by Sven Holcombe Oct 2011

Author's note:
While I am generally against unnecessary encryption of .m files (it would be against the spirit of this file exchange, for one), I needed a tool such as this one for my work, and though that others may need the same.

System Requirements:

No special requirements.
Program Release Status: New Release
Program Install Support: Install and Uninstall

deploypcode - recursively pcode files with help attached (Scripts) Tags:

Click on a tag to find related softwares

Is deploypcode - recursively pcode files with help attached (Scripts) your software?

Manage your software

Most Popular

scripts default icon ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation 1.1
ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation contain several functions for digital modulation simulation
scripts default icon Simulink Communication Labs 1.1
Simulink Communication Labs allows you to learn communication systems in greater depth.
scripts default icon M-QAM modulation and demodulation 1.1
M-QAM modulation and demodulation is the QAM modulation and demodulation tech.
scripts default icon LZW Compression/Decompression 1.1
LZW Compression/Decompression - Updated LZW compressor and decompressor with reasonable performance
scripts default icon InSPIRE utility to plot a 2D displacement field (Scripts) 1.0
This program plots the deformation field (displace vectors) contained in vector.txt.