Documentation Center

  • Trial Software
  • Product Updates

getpid

Process ID of the running kernel

Use only in the MuPAD Notebook Interface.

This functionality does not run in MATLAB.

Syntax

getpid()

Description

getpid() returns the process ID of the running MuPAD® kernel.

The process ID may be useful for generating names for temporary files by appending it to a file basename.

Examples

Example 1

Querying the process ID of the running kernel may produce a result like this:

getpid()

Return Values

Nonnegative integer.

See Also

MuPAD Functions

Was this topic helpful?