How can I get the PID of the current MATLAB session?
Show older comments
I want to find out the PID (process ID) of the current MATLAB session programmatically on Windows and Unix machines.
Accepted Answer
More Answers (1)
Darin McCoy
on 21 Feb 2014
9 votes
Butttt...later versions of matlab allow you to do it with this command
feature('getpid')
Categories
Find more on Programming in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!