MATLAB Runtime Server | ![]() ![]() |
Create a preparsed pseudocode file (P-file)
Syntax
pcode fun pcode *.m pcode fun1 fun2 ... pcode ... -inplace pcode ... -runtime pcode ... -inplace -runtime
Description
pcode fun
parses the M-file fun.m
into the P-file fun.p
. If fun.m
is not in a class or private directory, then fun.p
is placed in the current directory. Otherwise, fun.p
is placed in a class or private subdirectory of the current directory, which pcode
automatically creates if necessary. The original M-file can be anywhere on the search path.
pcode *.m
creates P-files for all the M-files that are in the current directory. The location of the new P-files is as described above.
pcode fun1 fun2 ...
creates P-files for the listed functions. The location of the new P-files is as described above.
pcode ... -inplace
creates P-files in the same directory as the corresponding M-files.
pcode ... -runtime
creates runtime P-files. If fun.m
is not in a class or private directory, then fun.p
is placed in the current directory. Otherwise, fun.p
is placed in a class or private subdirectory of the current directory, which pcode
automatically creates if necessary. The pcode.m
file itself cannot be compiled into a runtime P-file.
pcode ... -inplace -runtime
creates runtime P-files in the same directory as the corresponding M-files. The pcode.m
file itself cannot be compiled into a runtime P-file.
Note In order for runtime P-files to work with a runtime application, the shipping version of MATLAB must have the same password stamp as the development version of MATLAB that created the runtime P-file. See Password Consistency Rules for more details. |
See Also
![]() | makeconfig | pcodeall | ![]() |