Create content-obscured, executable files
pcode(
obfuscates the code in a item
).m
file or folder on the search path and
produces P-files with the extension .p
. If
item
is a .m
file, then the resulting file
is item.p
. If item
is a folder, then all
script or function files in that folder are obfuscated in the current folder. A
P-file takes precedence over the corresponding .m
file for
execution, even after modifications to the .m
file.
Note
The pcode
function obfuscates your program files and
does not encrypt them, thus P-files should not be considered secure.
P-coding files to protect your intellectual property is not
recommended.
pcode(
creates P-files from each item1,item2,...,itemN
).m
file or folder specified in a
comma-separated list.
pcode(___,'-inplace')
creates
the P-files in the same folders as the inputs. Specify '-inplace'
after all other input arguments.