Documentation>MATLAB API>MISC - vl_getpid

VL_GETPID() returns MATLAB process ID.

Algorithm

VL_GETPID() returns the result of the getpid() system call on UNIX-like operating systems and of GetCurrentProcessID() on Windows.

See also: VL_HELP().