KerMor
0.9
Model order reduction for nonlinear dynamical systems and nonlinear approximation
Home
Getting started
Topics
Techdocs
Developer
Packages
Class Documentation
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
ppid.c
Go to the documentation of this file.
1
#include <sys/types.h>
2
#include <unistd.h>
3
#include "mex.h"
4
/*
5
* Outputs the current process ID of Matlab.
6
*
7
* @author Massimiliano Salsi (http://www.mathworks.com/matlabcentral/newsreader/author/100603)
8
*
9
* Code from http://www.mathworks.com/matlabcentral/newsreader/view_thread/164015
10
*/
11
void
mexFunction
(
int
nlhs, mxArray *plhs[],
12
int
nrhs,
const
mxArray*prhs[] )
13
{
14
plhs[0] = mxCreateDoubleScalar( getppid() );
15
return
;
16
}
mexFunction
void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
Definition:
ppid.c:11
core
extern
ppid.c
KerMor 0.9 docs generated by
1.8.6