MATLAB Runtime Server    
pcode

Create a preparsed pseudocode file (P-file)

Syntax

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.

See Also

cleanp, pcodeall


  makeconfig pcodeall