VL_GETPID() returns MATLAB process ID.
VL_GETPID() returns the result of getpid() (UNIX) or GetCurrentProcessID() (Windows) system functions.
Andrea Vedaldi