Matlab命令:pcode
pcode fun
pcode *.m
pcode fun1 fun2 ...
pcode... -inplace
pcode fun obfuscates (i.e., shrouds) M-file fun.m for the purpose of protecting its proprietary source code. The encrypted M-code is written to P-file fun.pin the current directory. The original M-file can be anywhere on the search path.
If the input file resides within a package and/or class directory, then the same package and class directories are applied to the output file. See example 2, below.
pcode *.m creates P-files for all the M-files in the current directory.
pcode fun1 fun2 ... creates P-files for the listed functions.
pcode... -inplace creates P-files in the same directory as the M-files. An error occurs if the files cannot be created.
联系客服