Main Content

ParameterTree

Access ROS parameter server

Description

A ParameterTree object communicates with the ROS parameter server. The ROS parameter server can store strings, integers, doubles, Booleans, and cell arrays. The parameters are accessible globally over the ROS network. You can use these parameters to store static data such as configuration parameters.

To directly set, get, or access ROS parameters without creating a ParameterTree object, see rosparam.

The following ROS data types are supported as values of parameters. For each ROS data type, the corresponding MATLAB® data type is also listed.

ROS Data TypeMATLAB Data Type
32-bit integerint32
booleanlogical
doubledouble
stringcharacter vector (char)
listcell array (cell)
dictionarystructure (struct)

Creation

Description

ptree = rosparam creates a parameter tree object, ptree. After ptree is created, the connection to the parameter server remains persistent until the object is deleted or the ROS master becomes unavailable.

ptree = ros.ParameterTree(node) returns a ParameterTree object to communicate with the ROS parameter server. The parameter tree attaches to the ROS node, node. To connect to the global node, specify node as [].

example

Properties

expand all

This property is read-only.

List of parameter names on the server, specified as a cell array.

Example: {'/myParam';'/robotSize';'/hostname'}

Data Types: cell

Object Functions

getGet ROS parameter value
hasCheck if ROS parameter name exists
searchSearch ROS network for parameter names
setSet value of ROS parameter or add new parameter
delDelete a ROS parameter

Examples

collapse all

Start the ROS master and create a ROS node.

master = ros.Core;
Launching ROS Core...
Status before launching ros core :0
result before launching ros core:     894 ?        Ssl   15:22 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml
   1164 ?        Ssl    0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
 582959 ?        Ss     0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1597737 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw   sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook2.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 582989 ?        S      0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1597737 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw   sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook2.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 582990 ?        S      0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook2.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 583040 ?        S      0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook2.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 584716 ?        Sl     0:00 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/bin/glnxa64/libmwros1server -mvmInputPipe 596 -1 -mvmOutputPipe -1 603
 585324 pts/3    S+     0:00 /bin/bash -c ps ax | grep -E 'ros|python'
 585326 pts/3    S+     0:00 grep -E ros|python

Done in 0.43053 seconds.
* Inside getProcessPID function *
Process Name: /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 57403 -w 3
Status before getting PID :0
Result before getting PID :    894 ?        Ssl   15:22 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml
   1164 ?        Ssl    0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
 582959 ?        Ss     0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1597737 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw   sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook2.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 582989 ?        S      0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1597737 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw   sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook2.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 582990 ?        S      0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook2.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 583040 ?        S      0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook2.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 584716 ?        Sl     0:00 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/bin/glnxa64/libmwros1server -mvmInputPipe 596 -1 -mvmOutputPipe -1 603
 585329 pts/3    S      0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh   /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2974004_1597737/tp9d79b7b2_8ae7_4fd6_8453_e1fd7d479bbb/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 57403 -w 3
 585341 pts/3    Sl     0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 57403 -w 3
 585349 pts/3    S+     0:00 /bin/bash -c ps ax | grep -E 'ros|python'
 585351 pts/3    S+     0:00 grep -E ros|python

Result:  585329 pts/3    S      0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh   /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2974004_1597737/tp9d79b7b2_8ae7_4fd6_8453_e1fd7d479bbb/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 57403 -w 3

Status: 0
PID obtained: 585329
Status after getting PID :0
Result after getting PID :    894 ?        Ssl   15:22 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml
   1164 ?        Ssl    0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
 582959 ?        Ss     0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1597737 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw   sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook2.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 582989 ?        S      0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1597737 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw   sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook2.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 582990 ?        S      0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook2.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 583040 ?        S      0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook2.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 584716 ?        Sl     0:00 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/bin/glnxa64/libmwros1server -mvmInputPipe 596 -1 -mvmOutputPipe -1 603
 585329 pts/3    S      0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh   /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2974004_1597737/tp9d79b7b2_8ae7_4fd6_8453_e1fd7d479bbb/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 57403 -w 3
 585341 pts/3    Sl     0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 57403 -w 3
 585356 pts/3    S+     0:00 /bin/bash -c ps ax | grep -E 'ros|python'
 585358 pts/3    S+     0:00 grep -E ros|python

* Exiting getProcessPID function *
Status after launching ros core :0
result after launching ros core:     894 ?        Ssl   15:22 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml
   1164 ?        Ssl    0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
 582959 ?        Ss     0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1597737 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw   sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook2.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 582989 ?        S      0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1597737 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw   sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook2.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 582990 ?        S      0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook2.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 583040 ?        S      0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook2.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 584716 ?        Sl     0:00 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/bin/glnxa64/libmwros1server -mvmInputPipe 596 -1 -mvmOutputPipe -1 603
 585329 pts/3    S      0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh   /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2974004_1597737/tp9d79b7b2_8ae7_4fd6_8453_e1fd7d479bbb/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 57403 -w 3
 585341 pts/3    Sl     0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 57403 -w 3
 585359 pts/3    S+     0:00 /bin/bash -c ps ax | grep -E 'ros|python'
 585361 pts/3    S+     0:00 grep -E ros|python

Status before deleting node :0
Result before deleting node :    894 ?        Ssl   15:22 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml
   1164 ?        Ssl    0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
 582959 ?        Ss     0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1597737 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw   sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook2.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 582989 ?        S      0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1597737 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw   sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook2.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 582990 ?        S      0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook2.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 583040 ?        S      0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook2.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 584716 ?        Sl     0:00 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/bin/glnxa64/libmwros1server -mvmInputPipe 596 -1 -mvmOutputPipe -1 603
 585329 pts/3    S      0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh   /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2974004_1597737/tp9d79b7b2_8ae7_4fd6_8453_e1fd7d479bbb/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 57403 -w 3
 585341 pts/3    Sl     0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 57403 -w 3
 585362 ?        Sl     0:00 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/bin/glnxa64/libmwros1server -mvmInputPipe 611 -1 -mvmOutputPipe -1 662
 585377 pts/3    S+     0:00 /bin/bash -c ps ax | grep -E 'ros|python'
 585379 pts/3    S+     0:00 grep -E ros|python

Status after deleting node :0
Result after deleting node :    894 ?        Ssl   15:22 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml
   1164 ?        Ssl    0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
 582959 ?        Ss     0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1597737 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw   sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook2.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 582989 ?        S      0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1597737 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw   sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook2.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 582990 ?        S      0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook2.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 583040 ?        S      0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook2.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 584716 ?        Sl     0:00 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/bin/glnxa64/libmwros1server -mvmInputPipe 596 -1 -mvmOutputPipe -1 603
 585329 pts/3    S      0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh   /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2974004_1597737/tp9d79b7b2_8ae7_4fd6_8453_e1fd7d479bbb/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 57403 -w 3
 585341 pts/3    Sl     0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 57403 -w 3
 585383 pts/3    S+     0:00 /bin/bash -c ps ax | grep -E 'ros|python'
 585385 pts/3    S+     0:00 grep -E ros|python
node = ros.Node('/test1');

Create the parameter tree object.

ptree = ros.ParameterTree(node);

Set multiple parameters.

set(ptree,'DoubleParam',1.0)
set(ptree,'CharParam','test')
set(ptree,'CellParam',{{'test'},{1,2}});

View the available parameters.

parameters = ptree.AvailableParameters
parameters = 3×1 cell
    {'/CellParam'  }
    {'/CharParam'  }
    {'/DoubleParam'}

Get a parameter value.

data = get(ptree,'CellParam')
data=1×2 cell array
    {1×1 cell}    {1×2 cell}

Search for a parameter name.

search(ptree,'char')
ans = 1×1 cell array
    {'/CharParam'}

Delete the parameter tree and ROS node. Shut down the ROS master.

clear('ptree','node')
Status before deleting node :0
Result before deleting node :    894 ?        Ssl   15:22 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml
   1164 ?        Ssl    0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
 582959 ?        Ss     0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1597737 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw   sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook2.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 582989 ?        S      0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1597737 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw   sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook2.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 582990 ?        S      0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook2.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 583040 ?        S      0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook2.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 584716 ?        Sl     0:00 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/bin/glnxa64/libmwros1server -mvmInputPipe 596 -1 -mvmOutputPipe -1 603
 585329 pts/3    S      0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh   /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2974004_1597737/tp9d79b7b2_8ae7_4fd6_8453_e1fd7d479bbb/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 57403 -w 3
 585341 pts/3    Sl     0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 57403 -w 3
 585386 ?        Sl     0:00 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/bin/glnxa64/libmwros1server -mvmInputPipe 611 -1 -mvmOutputPipe -1 662
 585401 pts/3    S+     0:00 /bin/bash -c ps ax | grep -E 'ros|python'
 585403 pts/3    S+     0:00 grep -E ros|python

Status after deleting node :0
Result after deleting node :    894 ?        Ssl   15:22 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml
   1164 ?        Ssl    0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
 582959 ?        Ss     0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1597737 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw   sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook2.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 582989 ?        S      0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1597737 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw   sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook2.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 582990 ?        S      0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook2.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 583040 ?        S      0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook2.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 584716 ?        Sl     0:00 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/bin/glnxa64/libmwros1server -mvmInputPipe 596 -1 -mvmOutputPipe -1 603
 585329 pts/3    S      0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh   /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2974004_1597737/tp9d79b7b2_8ae7_4fd6_8453_e1fd7d479bbb/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 57403 -w 3
 585341 pts/3    Sl     0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 57403 -w 3
 585407 pts/3    S+     0:00 /bin/bash -c ps ax | grep -E 'ros|python'
 585409 pts/3    S+     0:00 grep -E ros|python
clear('master')
Status before deleting core :0
Result before deleting core :    894 ?        Ssl   15:22 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml
   1164 ?        Ssl    0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
 582959 ?        Ss     0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1597737 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw   sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook2.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 582989 ?        S      0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1597737 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw   sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook2.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 582990 ?        S      0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook2.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 583040 ?        S      0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook2.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 584716 ?        Sl     0:00 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/bin/glnxa64/libmwros1server -mvmInputPipe 596 -1 -mvmOutputPipe -1 603
 585329 pts/3    S      0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh   /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2974004_1597737/tp9d79b7b2_8ae7_4fd6_8453_e1fd7d479bbb/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 57403 -w 3
 585341 pts/3    Sl     0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 57403 -w 3
 585410 pts/3    S+     0:00 /bin/bash -c ps ax | grep -E 'ros|python'
 585412 pts/3    S+     0:00 grep -E ros|python

* Inside killProcessByPID function *
PID of core to be killed: 585329
Status after Child Process Killed: 0
Result after Child Process Killed: 
Status after deleting core :0
Result after deleting core :    894 ?        Ssl   15:22 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml
   1164 ?        Ssl    0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
 582959 ?        Ss     0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1597737 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw   sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook2.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 582989 ?        S      0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1597737 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw   sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook2.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 582990 ?        S      0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.e755ebeb090542afd4ae92ad7e709ce4 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook2.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 583040 ?        S      0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook2.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 584716 ?        Sl     0:00 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/bin/glnxa64/libmwros1server -mvmInputPipe 596 -1 -mvmOutputPipe -1 603
 585417 pts/3    S+     0:00 /bin/bash -c ps ax | grep -E 'ros|python'
 585419 pts/3    S+     0:00 grep -E ros|python

* Exiting killProcessByPID function *

Use structures to specify a dictionary of ROS parameters under a specific namespace.

Connect to a ROS network.

rosinit
Launching ROS Core...
Status before launching ros core :0
result before launching ros core:     891 ?        Ssl   17:31 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml
   1163 ?        Ssl    0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
 599417 ?        Ss     0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1609682 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw   sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 599447 ?        S      0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1609682 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw   sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 599448 ?        S      0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 599482 ?        S      0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 601866 pts/3    S+     0:00 /bin/bash -c ps ax | grep -E 'ros|python'
 601868 pts/3    S+     0:00 grep -E ros|python

Done in 0.44454 seconds.
* Inside getProcessPID function *
Process Name: /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 51935 -w 3
Status before getting PID :0
Result before getting PID :    891 ?        Ssl   17:31 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml
   1163 ?        Ssl    0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
 599417 ?        Ss     0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1609682 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw   sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 599447 ?        S      0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1609682 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw   sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 599448 ?        S      0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 599482 ?        S      0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 601871 pts/3    S      0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh   /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2974004_1609682/tp5024647c_1e20_4bcf_a362_ccaf8d1452be/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 51935 -w 3
 601883 pts/3    Sl     0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 51935 -w 3
 601891 pts/3    S+     0:00 /bin/bash -c ps ax | grep -E 'ros|python'
 601893 pts/3    S+     0:00 grep -E ros|python

Result:  601871 pts/3    S      0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh   /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2974004_1609682/tp5024647c_1e20_4bcf_a362_ccaf8d1452be/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 51935 -w 3

Status: 0
PID obtained: 601871
Status after getting PID :0
Result after getting PID :    891 ?        Ssl   17:31 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml
   1163 ?        Ssl    0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
 599417 ?        Ss     0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1609682 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw   sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 599447 ?        S      0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1609682 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw   sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 599448 ?        S      0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 599482 ?        S      0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 601871 pts/3    S      0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh   /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2974004_1609682/tp5024647c_1e20_4bcf_a362_ccaf8d1452be/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 51935 -w 3
 601883 pts/3    Sl     0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 51935 -w 3
 601898 pts/3    S+     0:00 /bin/bash -c ps ax | grep -E 'ros|python'
 601900 pts/3    S+     0:00 grep -E ros|python

* Exiting getProcessPID function *
Status after launching ros core :0
result after launching ros core:     891 ?        Ssl   17:31 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml
   1163 ?        Ssl    0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
 599417 ?        Ss     0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1609682 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw   sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 599447 ?        S      0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1609682 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw   sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 599448 ?        S      0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 599482 ?        S      0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 601871 pts/3    S      0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh   /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2974004_1609682/tp5024647c_1e20_4bcf_a362_ccaf8d1452be/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 51935 -w 3
 601883 pts/3    Sl     0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 51935 -w 3
 601901 pts/3    S+     0:00 /bin/bash -c ps ax | grep -E 'ros|python'
 601903 pts/3    S+     0:00 grep -E ros|python

Status before deleting node :0
Result before deleting node :    891 ?        Ssl   17:31 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml
   1163 ?        Ssl    0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
 599417 ?        Ss     0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1609682 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw   sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 599447 ?        S      0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1609682 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw   sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 599448 ?        S      0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 599482 ?        S      0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 601871 pts/3    S      0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh   /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2974004_1609682/tp5024647c_1e20_4bcf_a362_ccaf8d1452be/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 51935 -w 3
 601883 pts/3    Sl     0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 51935 -w 3
 601904 ?        Sl     0:00 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/bin/glnxa64/libmwros1server -mvmInputPipe 595 -1 -mvmOutputPipe -1 610
 601919 pts/3    S+     0:00 /bin/bash -c ps ax | grep -E 'ros|python'
 601921 pts/3    S+     0:00 grep -E ros|python

Status after deleting node :0
Result after deleting node :    891 ?        Ssl   17:31 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml
   1163 ?        Ssl    0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
 599417 ?        Ss     0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1609682 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw   sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 599447 ?        S      0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1609682 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw   sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 599448 ?        S      0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 599482 ?        S      0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 601871 pts/3    S      0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh   /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2974004_1609682/tp5024647c_1e20_4bcf_a362_ccaf8d1452be/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 51935 -w 3
 601883 pts/3    Sl     0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 51935 -w 3
 601925 pts/3    S+     0:00 /bin/bash -c ps ax | grep -E 'ros|python'
 601927 pts/3    S+     0:00 grep -E ros|python

Initializing ROS master on http://172.20.144.83:51935.
Initializing global node /matlab_global_node_88687 with NodeURI http://dcc047557glnxa64:35893/ and MasterURI http://localhost:51935.

Create a dictionary of parameter values. This dictionary contains the information relevant to an image. Display the structure to verify values.

image = imread('peppers.png');

pval.ImageWidth = size(image,1);
pval.ImageHeight = size(image,2);
pval.ImageTitle = 'peppers.png';
disp(pval)
     ImageWidth: 384
    ImageHeight: 512
     ImageTitle: 'peppers.png'

Set the dictionary of values using the desired namespace.

rosparam('set','ImageParam',pval)

Get the parameters using the namespace. Verify the parameter values.

pval2 = rosparam('get','ImageParam')
pval2 = struct with fields:
    ImageHeight: 512
     ImageTitle: 'peppers.png'
     ImageWidth: 384

Shut down ROS network.

rosshutdown
Shutting down global node /matlab_global_node_88687 with NodeURI http://dcc047557glnxa64:35893/ and MasterURI http://localhost:51935.
Status before deleting node :0
Result before deleting node :    891 ?        Ssl   17:31 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml
   1163 ?        Ssl    0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
 599417 ?        Ss     0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1609682 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw   sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 599447 ?        S      0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1609682 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw   sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 599448 ?        S      0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 599482 ?        S      0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 601871 pts/3    S      0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh   /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2974004_1609682/tp5024647c_1e20_4bcf_a362_ccaf8d1452be/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 51935 -w 3
 601883 pts/3    Sl     0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 51935 -w 3
 601928 ?        Sl     0:00 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/bin/glnxa64/libmwros1server -mvmInputPipe 608 -1 -mvmOutputPipe -1 613
 601944 pts/3    S+     0:00 /bin/bash -c ps ax | grep -E 'ros|python'
 601946 pts/3    S+     0:00 grep -E ros|python

Status after deleting node :0
Result after deleting node :    891 ?        Ssl   17:31 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml
   1163 ?        Ssl    0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
 599417 ?        Ss     0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1609682 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw   sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 599447 ?        S      0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1609682 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw   sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 599448 ?        S      0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 599482 ?        S      0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 601871 pts/3    S      0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh   /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2974004_1609682/tp5024647c_1e20_4bcf_a362_ccaf8d1452be/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 51935 -w 3
 601883 pts/3    Sl     0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 51935 -w 3
 601950 pts/3    S+     0:00 /bin/bash -c ps ax | grep -E 'ros|python'
 601952 pts/3    S+     0:00 grep -E ros|python

Shutting down ROS master on http://172.20.144.83:51935.
Status before deleting core :0
Result before deleting core :    891 ?        Ssl   17:31 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml
   1163 ?        Ssl    0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
 599417 ?        Ss     0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1609682 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw   sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 599447 ?        S      0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1609682 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw   sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 599448 ?        S      0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 599482 ?        S      0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 601871 pts/3    S      0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh   /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2974004_1609682/tp5024647c_1e20_4bcf_a362_ccaf8d1452be/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 51935 -w 3
 601883 pts/3    Sl     0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 51935 -w 3
 601953 pts/3    S+     0:00 /bin/bash -c ps ax | grep -E 'ros|python'
 601955 pts/3    S+     0:00 grep -E ros|python

* Inside killProcessByPID function *
PID of core to be killed: 601871
Status after Child Process Killed: 0
Result after Child Process Killed: 
Status after deleting core :0
Result after deleting core :    891 ?        Ssl   17:31 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml
   1163 ?        Ssl    0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
 599417 ?        Ss     0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1609682 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw   sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 599447 ?        S      0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1609682 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw   sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 599448 ?        S      0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 599482 ?        S      0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 601960 pts/3    S+     0:00 /bin/bash -c ps ax | grep -E 'ros|python'
 601962 pts/3    S+     0:00 grep -E ros|python

* Exiting killProcessByPID function *

Extended Capabilities

expand all

Version History

Introduced in R2019b