Main Content

rostime

Access ROS time functionality

Description

A ROS Time message represents an instance of time in seconds and nanoseconds. This time can be based on your system time, the ROS simulation time, or an arbitrary time.

Creation

Description

time = rostime(totalSecs) initializes the time values for seconds and nanoseconds based on totalSecs, which represents the time in seconds as a floating-point number.

Note

In a future release, ROS Toolbox will use message structures instead of objects for ROS messages.

To use message structures now, set the "DataFormat" name-value argument to "struct". For more information, see ROS Message Structures.

time = rostime(secs,nsecs) initializes the time values for seconds and nanoseconds individually. Both inputs must be integers. Large values for nsecs are wrapped automatically with the remainder added to secs.

time = rostime("now") returns the current ROS time. If the use_sim_time ROS parameter is set to true, the rostime returns the simulation time published on the clock topic. Otherwise, the function returns the system time of your machine. The time is a ROS Time object. If no output argument is given, the current time (in seconds) is printed to the screen.

The rostime can be used to timestamp messages or to measure time in the ROS network.

[time,issimtime] = rostime("now") also returns a Boolean that indicates if time is in simulation time (true) or system time (false).

example

time = rostime("now","system") always returns the system time of your machine, even if ROS publishes simulation time on the clock topic. If no output argument is given, the system time (in seconds) is printed to the screen.

The system time in ROS follows the UNIX® or POSIX® time standard. POSIX time is defined as the time that has elapsed since 00:00:00 Coordinated Universal Time (UTC), 1 January 1970, not counting leap seconds.

example

time = rostime(___,"DataFormat","struct") uses message structures instead of objects with any of the arguments in previous syntaxes. For more information, see ROS Message Structures.

example

Properties

expand all

Total time, specified as a floating-point scalar. The integer portion is set to the Sec property with the remainder applied to Nsec property of the Time object.

Whole seconds, specified as a positive integer.

Note

The maximum and minimum values for secs are [0, 4294967294].

Nanoseconds, specified as a positive integer. It this value is greater than or equal to 109, then the value is wrapped and the remainders are added to the value of Sec.

Message format, specified as "object" or "struct". You must set this property on creation using the name-value input. For more information, see ROS Message Structures.

Examples

collapse all

Connect to a ROS network.

rosinit
Launching ROS Core...
Status before launching ros core :0
result before launching ros core:     886 ?        Ssl    1:24 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml
   1192 ?        Ssl    0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
  94250 ?        Ss     0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2720277 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook4.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  94280 ?        S      0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2720277 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook4.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  94281 ?        S      0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook4.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  94314 ?        S      0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook4.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  95687 pts/3    S+     0:00 /bin/bash -c ps ax | grep -E 'ros|python'
  95689 pts/3    S+     0:00 grep -E ros|python

Done in 0.58153 seconds.
* Inside getProcessPID function *
Process Name: /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 60956 -w 3
Status before getting PID :0
Result before getting PID :    886 ?        Ssl    1:24 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml
   1192 ?        Ssl    0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
  94250 ?        Ss     0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2720277 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook4.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  94280 ?        S      0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2720277 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook4.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  94281 ?        S      0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook4.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  94314 ?        S      0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook4.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  95692 pts/3    S      0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh   /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2864802_2720277/tp12fe1e7c_e43b_4e27_a74d_3df6d329c59f/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 60956 -w 3
  95704 pts/3    Sl     0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 60956 -w 3
  95712 pts/3    S+     0:00 /bin/bash -c ps ax | grep -E 'ros|python'
  95714 pts/3    S+     0:00 grep -E ros|python

Result:   95692 pts/3    S      0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh   /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2864802_2720277/tp12fe1e7c_e43b_4e27_a74d_3df6d329c59f/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 60956 -w 3

Status: 0
PID obtained: 95692
Status after getting PID :0
Result after getting PID :    886 ?        Ssl    1:24 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml
   1192 ?        Ssl    0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
  94250 ?        Ss     0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2720277 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook4.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  94280 ?        S      0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2720277 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook4.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  94281 ?        S      0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook4.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  94314 ?        S      0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook4.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  95692 pts/3    S      0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh   /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2864802_2720277/tp12fe1e7c_e43b_4e27_a74d_3df6d329c59f/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 60956 -w 3
  95704 pts/3    Sl     0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 60956 -w 3
  95719 pts/3    S+     0:00 /bin/bash -c ps ax | grep -E 'ros|python'
  95721 pts/3    S+     0:00 grep -E ros|python

* Exiting getProcessPID function *
Status after launching ros core :0
result after launching ros core:     886 ?        Ssl    1:24 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml
   1192 ?        Ssl    0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
  94250 ?        Ss     0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2720277 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook4.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  94280 ?        S      0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2720277 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook4.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  94281 ?        S      0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook4.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  94314 ?        S      0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook4.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  95692 pts/3    S      0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh   /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2864802_2720277/tp12fe1e7c_e43b_4e27_a74d_3df6d329c59f/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 60956 -w 3
  95704 pts/3    Sl     0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 60956 -w 3
  95722 pts/3    S+     0:00 /bin/bash -c ps ax | grep -E 'ros|python'
  95724 pts/3    S+     0:00 grep -E ros|python

Status before deleting node :0
Result before deleting node :    886 ?        Ssl    1:24 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml
   1192 ?        Ssl    0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
  94250 ?        Ss     0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2720277 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook4.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  94280 ?        S      0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2720277 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook4.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  94281 ?        S      0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook4.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  94314 ?        S      0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook4.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  95692 pts/3    S      0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh   /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2864802_2720277/tp12fe1e7c_e43b_4e27_a74d_3df6d329c59f/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 60956 -w 3
  95704 pts/3    Sl     0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 60956 -w 3
  95725 ?        Sl     0:00 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/toolbox/ros/bin/glnxa64/libmwros1server -mvmInputPipe 599 -1 -mvmOutputPipe -1 602
  95740 pts/3    S+     0:00 /bin/bash -c ps ax | grep -E 'ros|python'
  95742 pts/3    S+     0:00 grep -E ros|python

Status after deleting node :0
Result after deleting node :    886 ?        Ssl    1:24 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml
   1192 ?        Ssl    0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
  94250 ?        Ss     0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2720277 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook4.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  94280 ?        S      0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2720277 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook4.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  94281 ?        S      0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook4.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  94314 ?        S      0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook4.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  95692 pts/3    S      0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh   /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2864802_2720277/tp12fe1e7c_e43b_4e27_a74d_3df6d329c59f/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 60956 -w 3
  95704 pts/3    Sl     0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 60956 -w 3
  95746 pts/3    S+     0:00 /bin/bash -c ps ax | grep -E 'ros|python'
  95748 pts/3    S+     0:00 grep -E ros|python

Initializing ROS master on http://172.20.224.146:60956.
Initializing global node /matlab_global_node_99044 with NodeURI http://dcc192529glnxa64:33861/ and MasterURI http://localhost:60956.

Get the current ROS Time as a ROS message structure. You can also check whether is it system time by getting the issim output.

[t,issim] = rostime('now','DataFormat','struct')
t = struct with fields:
     Sec: 1738445290
    Nsec: 449320564

issim = logical
   0

Shutdown the ROS network.

rosshutdown
Shutting down global node /matlab_global_node_99044 with NodeURI http://dcc192529glnxa64:33861/ and MasterURI http://localhost:60956.
Status before deleting node :0
Result before deleting node :    886 ?        Ssl    1:24 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml
   1192 ?        Ssl    0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
  94250 ?        Ss     0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2720277 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook4.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  94280 ?        S      0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2720277 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook4.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  94281 ?        S      0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook4.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  94314 ?        S      0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook4.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  95692 pts/3    S      0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh   /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2864802_2720277/tp12fe1e7c_e43b_4e27_a74d_3df6d329c59f/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 60956 -w 3
  95704 pts/3    Sl     0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 60956 -w 3
  95749 ?        Sl     0:00 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/toolbox/ros/bin/glnxa64/libmwros1server -mvmInputPipe 599 -1 -mvmOutputPipe -1 602
  95765 pts/3    S+     0:00 /bin/bash -c ps ax | grep -E 'ros|python'
  95767 pts/3    S+     0:00 grep -E ros|python

Status after deleting node :0
Result after deleting node :    886 ?        Ssl    1:24 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml
   1192 ?        Ssl    0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
  94250 ?        Ss     0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2720277 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook4.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  94280 ?        S      0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2720277 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook4.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  94281 ?        S      0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook4.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  94314 ?        S      0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook4.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  95692 pts/3    S      0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh   /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2864802_2720277/tp12fe1e7c_e43b_4e27_a74d_3df6d329c59f/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 60956 -w 3
  95704 pts/3    Sl     0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 60956 -w 3
  95772 pts/3    S+     0:00 /bin/bash -c ps ax | grep -E 'ros|python'
  95774 pts/3    S+     0:00 grep -E ros|python

Shutting down ROS master on http://172.20.224.146:60956.
Status before deleting core :0
Result before deleting core :    886 ?        Ssl    1:24 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml
   1192 ?        Ssl    0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
  94250 ?        Ss     0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2720277 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook4.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  94280 ?        S      0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2720277 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook4.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  94281 ?        S      0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook4.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  94314 ?        S      0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook4.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  95692 pts/3    S      0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh   /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2864802_2720277/tp12fe1e7c_e43b_4e27_a74d_3df6d329c59f/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 60956 -w 3
  95704 pts/3    Sl     0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 60956 -w 3
  95775 pts/3    S+     0:00 /bin/bash -c ps ax | grep -E 'ros|python'
  95777 pts/3    S+     0:00 grep -E ros|python

* Inside killProcessByPID function *
PID of core to be killed: 95692
Status after Child Process Killed: 0
Result after Child Process Killed: 
Status after deleting core :0
Result after deleting core :    886 ?        Ssl    1:24 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml
   1192 ?        Ssl    0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
  94250 ?        Ss     0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2720277 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook4.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  94280 ?        S      0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2720277 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook4.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  94281 ?        S      0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.a22e6b6335fee23abfdd77876c3b0f8a MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook4.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  94314 ?        S      0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook4.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  95782 pts/3    S+     0:00 /bin/bash -c ps ax | grep -E 'ros|python'
  95784 pts/3    S+     0:00 grep -E ros|python

* Exiting killProcessByPID function *

Initialize a ROS network.

rosinit
Launching ROS Core...
Status before launching ros core :0
result before launching ros core:     885 ?        Ssl    7:00 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml
   1148 ?        Ssl    0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
 259692 ?        Ss     0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2756995 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 259722 ?        S      0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2756995 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 259723 ?        S      0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 259774 ?        S      0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 260542 pts/5    S+     0:00 /bin/bash -c ps ax | grep -E 'ros|python'
 260544 pts/5    S+     0:00 grep -E ros|python

Done in 0.78007 seconds.
* Inside getProcessPID function *
Process Name: /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 53934 -w 3
Status before getting PID :0
Result before getting PID :    885 ?        Ssl    7:00 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml
   1148 ?        Ssl    0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
 259692 ?        Ss     0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2756995 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 259722 ?        S      0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2756995 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 259723 ?        S      0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 259774 ?        S      0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 260547 pts/5    S      0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh   /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2864802_2756995/tpcf4a2874_7fc0_4636_a226_83cf15205eae/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 53934 -w 3
 260559 pts/5    Sl     0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 53934 -w 3
 260567 pts/5    S+     0:00 /bin/bash -c ps ax | grep -E 'ros|python'
 260569 pts/5    S+     0:00 grep -E ros|python

Result:  260547 pts/5    S      0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh   /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2864802_2756995/tpcf4a2874_7fc0_4636_a226_83cf15205eae/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 53934 -w 3

Status: 0
PID obtained: 260547
Status after getting PID :0
Result after getting PID :    885 ?        Ssl    7:00 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml
   1148 ?        Ssl    0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
 259692 ?        Ss     0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2756995 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 259722 ?        S      0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2756995 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 259723 ?        S      0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 259774 ?        S      0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 260547 pts/5    S      0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh   /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2864802_2756995/tpcf4a2874_7fc0_4636_a226_83cf15205eae/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 53934 -w 3
 260559 pts/5    Sl     0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 53934 -w 3
 260574 pts/5    S+     0:00 /bin/bash -c ps ax | grep -E 'ros|python'
 260576 pts/5    S+     0:00 grep -E ros|python

* Exiting getProcessPID function *
Status after launching ros core :0
result after launching ros core:     885 ?        Ssl    7:00 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml
   1148 ?        Ssl    0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
 259692 ?        Ss     0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2756995 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 259722 ?        S      0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2756995 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 259723 ?        S      0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 259774 ?        S      0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 260547 pts/5    S      0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh   /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2864802_2756995/tpcf4a2874_7fc0_4636_a226_83cf15205eae/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 53934 -w 3
 260559 pts/5    Sl     0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 53934 -w 3
 260577 pts/5    S+     0:00 /bin/bash -c ps ax | grep -E 'ros|python'
 260579 pts/5    S+     0:00 grep -E ros|python

Status before deleting node :0
Result before deleting node :    885 ?        Ssl    7:00 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml
   1148 ?        Ssl    0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
 259692 ?        Ss     0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2756995 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 259722 ?        S      0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2756995 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 259723 ?        S      0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 259774 ?        S      0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 260547 pts/5    S      0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh   /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2864802_2756995/tpcf4a2874_7fc0_4636_a226_83cf15205eae/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 53934 -w 3
 260559 pts/5    Sl     0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 53934 -w 3
 260580 ?        Sl     0:00 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/toolbox/ros/bin/glnxa64/libmwros1server -mvmInputPipe 607 -1 -mvmOutputPipe -1 610
 260595 pts/5    S+     0:00 /bin/bash -c ps ax | grep -E 'ros|python'
 260597 pts/5    S+     0:00 grep -E ros|python

Status after deleting node :0
Result after deleting node :    885 ?        Ssl    7:00 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml
   1148 ?        Ssl    0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
 259692 ?        Ss     0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2756995 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 259722 ?        S      0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2756995 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 259723 ?        S      0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 259774 ?        S      0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 260547 pts/5    S      0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh   /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2864802_2756995/tpcf4a2874_7fc0_4636_a226_83cf15205eae/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 53934 -w 3
 260559 pts/5    Sl     0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 53934 -w 3
 260601 pts/5    S+     0:00 /bin/bash -c ps ax | grep -E 'ros|python'
 260603 pts/5    S+     0:00 grep -E ros|python

Initializing ROS master on http://172.20.150.131:53934.
Initializing global node /matlab_global_node_96115 with NodeURI http://dcc274880glnxa64:36135/ and MasterURI http://localhost:53934.

Create a stamped ROS message using structures. Specify the Header.Stamp property with the current system time.

point = rosmessage('geometry_msgs/PointStamped','DataFormat','struct');
point.Header.Stamp = rostime('now','system','DataFormat','struct');

Shut down the ROS network.

rosshutdown
Shutting down global node /matlab_global_node_96115 with NodeURI http://dcc274880glnxa64:36135/ and MasterURI http://localhost:53934.
Status before deleting node :0
Result before deleting node :    885 ?        Ssl    7:00 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml
   1148 ?        Ssl    0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
 259692 ?        Ss     0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2756995 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 259722 ?        S      0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2756995 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 259723 ?        S      0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 259774 ?        S      0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 260547 pts/5    S      0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh   /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2864802_2756995/tpcf4a2874_7fc0_4636_a226_83cf15205eae/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 53934 -w 3
 260559 pts/5    Sl     0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 53934 -w 3
 260604 ?        Sl     0:00 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/toolbox/ros/bin/glnxa64/libmwros1server -mvmInputPipe 607 -1 -mvmOutputPipe -1 610
 260620 pts/5    S+     0:00 /bin/bash -c ps ax | grep -E 'ros|python'
 260622 pts/5    S+     0:00 grep -E ros|python

Status after deleting node :0
Result after deleting node :    885 ?        Ssl    7:00 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml
   1148 ?        Ssl    0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
 259692 ?        Ss     0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2756995 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 259722 ?        S      0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2756995 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 259723 ?        S      0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 259774 ?        S      0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 260547 pts/5    S      0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh   /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2864802_2756995/tpcf4a2874_7fc0_4636_a226_83cf15205eae/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 53934 -w 3
 260559 pts/5    Sl     0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 53934 -w 3
 260626 pts/5    S+     0:00 /bin/bash -c ps ax | grep -E 'ros|python'
 260628 pts/5    S+     0:00 grep -E ros|python

Shutting down ROS master on http://172.20.150.131:53934.
Status before deleting core :0
Result before deleting core :    885 ?        Ssl    7:00 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml
   1148 ?        Ssl    0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
 259692 ?        Ss     0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2756995 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 259722 ?        S      0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2756995 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 259723 ?        S      0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 259774 ?        S      0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 260547 pts/5    S      0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh   /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2864802_2756995/tpcf4a2874_7fc0_4636_a226_83cf15205eae/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 53934 -w 3
 260559 pts/5    Sl     0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 53934 -w 3
 260629 pts/5    S+     0:00 /bin/bash -c ps ax | grep -E 'ros|python'
 260631 pts/5    S+     0:00 grep -E ros|python

* Inside killProcessByPID function *
PID of core to be killed: 260547
Status after Child Process Killed: 0
Result after Child Process Killed: 
Status after deleting core :0
Result after deleting core :    885 ?        Rsl    7:00 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml
   1148 ?        Ssl    0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
 259692 ?        Ss     0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2756995 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 259722 ?        S      0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2756995 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 259723 ?        S      0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 259774 ?        S      0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
 260636 pts/5    S+     0:00 /bin/bash -c ps ax | grep -E 'ros|python'
 260638 pts/5    S+     0:00 grep -E ros|python

* Exiting killProcessByPID function *

This example shows how to convert current ROS time into a MATLAB® standard time. The ROS Time object is first converted to a double in seconds, then to the specified MATLAB time.

Set up ROS network and store the ROS time as a structure message.

rosinit
Launching ROS Core...
Status before launching ros core :0
result before launching ros core:     893 ?        Ssl    0:38 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml
   1360 ?        Ssl    0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
  40425 ?        Ss     0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2749337 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook6.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  40455 ?        S      0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2749337 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook6.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  40467 ?        S      0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook6.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  40510 ?        S      0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook6.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  41333 pts/0    S+     0:00 /bin/bash -c ps ax | grep -E 'ros|python'
  41335 pts/0    S+     0:00 grep -E ros|python

Done in 0.80067 seconds.
* Inside getProcessPID function *
Process Name: /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 56081 -w 3
Status before getting PID :0
Result before getting PID :    893 ?        Ssl    0:38 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml
   1360 ?        Ssl    0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
  40425 ?        Ss     0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2749337 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook6.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  40455 ?        S      0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2749337 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook6.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  40467 ?        S      0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook6.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  40510 ?        S      0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook6.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  41338 pts/0    S      0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh   /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2864802_2749337/tp726d9a65_aa4a_4672_a960_104306ed59f9/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 56081 -w 3
  41350 pts/0    Sl     0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 56081 -w 3
  41358 pts/0    S+     0:00 /bin/bash -c ps ax | grep -E 'ros|python'
  41360 pts/0    S+     0:00 grep -E ros|python

Result:   41338 pts/0    S      0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh   /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2864802_2749337/tp726d9a65_aa4a_4672_a960_104306ed59f9/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 56081 -w 3

Status: 0
PID obtained: 41338
Status after getting PID :0
Result after getting PID :    893 ?        Ssl    0:38 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml
   1360 ?        Ssl    0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
  40425 ?        Ss     0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2749337 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook6.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  40455 ?        S      0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2749337 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook6.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  40467 ?        S      0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook6.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  40510 ?        S      0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook6.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  41338 pts/0    S      0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh   /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2864802_2749337/tp726d9a65_aa4a_4672_a960_104306ed59f9/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 56081 -w 3
  41350 pts/0    Sl     0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 56081 -w 3
  41365 pts/0    S+     0:00 /bin/bash -c ps ax | grep -E 'ros|python'
  41367 pts/0    S+     0:00 grep -E ros|python

* Exiting getProcessPID function *
Status after launching ros core :0
result after launching ros core:     893 ?        Ssl    0:38 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml
   1360 ?        Ssl    0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
  40425 ?        Ss     0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2749337 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook6.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  40455 ?        S      0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2749337 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook6.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  40467 ?        S      0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook6.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  40510 ?        S      0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook6.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  41338 pts/0    S      0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh   /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2864802_2749337/tp726d9a65_aa4a_4672_a960_104306ed59f9/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 56081 -w 3
  41350 pts/0    Sl     0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 56081 -w 3
  41368 pts/0    S+     0:00 /bin/bash -c ps ax | grep -E 'ros|python'
  41370 pts/0    S+     0:00 grep -E ros|python

Status before deleting node :0
Result before deleting node :    893 ?        Ssl    0:38 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml
   1360 ?        Ssl    0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
  40425 ?        Ss     0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2749337 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook6.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  40455 ?        S      0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2749337 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook6.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  40467 ?        S      0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook6.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  40510 ?        S      0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook6.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  41338 pts/0    S      0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh   /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2864802_2749337/tp726d9a65_aa4a_4672_a960_104306ed59f9/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 56081 -w 3
  41350 pts/0    Sl     0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 56081 -w 3
  41371 ?        Sl     0:00 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/toolbox/ros/bin/glnxa64/libmwros1server -mvmInputPipe 603 -1 -mvmOutputPipe -1 609
  41386 pts/0    S+     0:00 /bin/bash -c ps ax | grep -E 'ros|python'
  41388 pts/0    S+     0:00 grep -E ros|python

Status after deleting node :0
Result after deleting node :    893 ?        Ssl    0:38 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml
   1360 ?        Ssl    0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
  40425 ?        Ss     0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2749337 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook6.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  40455 ?        S      0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2749337 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook6.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  40467 ?        S      0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook6.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  40510 ?        S      0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook6.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  41338 pts/0    S      0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh   /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2864802_2749337/tp726d9a65_aa4a_4672_a960_104306ed59f9/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 56081 -w 3
  41350 pts/0    Sl     0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 56081 -w 3
  41392 pts/0    S+     0:00 /bin/bash -c ps ax | grep -E 'ros|python'
  41394 pts/0    S+     0:00 grep -E ros|python

Initializing ROS master on http://172.20.145.35:56081.
Initializing global node /matlab_global_node_30521 with NodeURI http://dcc181489glnxa64:39815/ and MasterURI http://localhost:56081.
t = rostime('now','DataFormat','struct');

Convert ROS Time to double using the seconds function and set time to a specified MATLAB format, datetime.

time = datetime(t.Sec + 10^-9*t.Nsec,'ConvertFrom','posixtime')
time = datetime
   01-Feb-2025 21:35:26

Shut down ROS network.

rosshutdown
Shutting down global node /matlab_global_node_30521 with NodeURI http://dcc181489glnxa64:39815/ and MasterURI http://localhost:56081.
Status before deleting node :0
Result before deleting node :    893 ?        Ssl    0:38 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml
   1360 ?        Ssl    0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
  40425 ?        Ss     0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2749337 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook6.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  40455 ?        S      0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2749337 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook6.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  40467 ?        S      0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook6.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  40510 ?        S      0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook6.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  41338 pts/0    S      0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh   /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2864802_2749337/tp726d9a65_aa4a_4672_a960_104306ed59f9/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 56081 -w 3
  41350 pts/0    Sl     0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 56081 -w 3
  41395 ?        Sl     0:00 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/toolbox/ros/bin/glnxa64/libmwros1server -mvmInputPipe 603 -1 -mvmOutputPipe -1 609
  41415 pts/0    S+     0:00 /bin/bash -c ps ax | grep -E 'ros|python'
  41418 pts/0    S+     0:00 grep -E ros|python

Status after deleting node :0
Result after deleting node :    893 ?        Ssl    0:38 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml
   1360 ?        Ssl    0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
  40425 ?        Ss     0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2749337 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook6.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  40455 ?        S      0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2749337 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook6.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  40467 ?        S      0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook6.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  40510 ?        S      0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook6.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  41338 pts/0    S      0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh   /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2864802_2749337/tp726d9a65_aa4a_4672_a960_104306ed59f9/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 56081 -w 3
  41350 pts/0    Sl     0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 56081 -w 3
  41424 pts/0    S+     0:00 /bin/bash -c ps ax | grep -E 'ros|python'
  41426 pts/0    S+     0:00 grep -E ros|python

Shutting down ROS master on http://172.20.145.35:56081.
Status before deleting core :0
Result before deleting core :    893 ?        Ssl    0:38 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml
   1360 ?        Ssl    0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
  40425 ?        Ss     0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2749337 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook6.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  40455 ?        S      0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2749337 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook6.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  40467 ?        S      0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook6.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  40510 ?        S      0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook6.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  41338 pts/0    S      0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh   /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2864802_2749337/tp726d9a65_aa4a_4672_a960_104306ed59f9/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 56081 -w 3
  41350 pts/0    Sl     0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 56081 -w 3
  41427 pts/0    S+     0:00 /bin/bash -c ps ax | grep -E 'ros|python'
  41429 pts/0    S+     0:00 grep -E ros|python

* Inside killProcessByPID function *
PID of core to be killed: 41338
Status after Child Process Killed: 0
Result after Child Process Killed: 
Status after deleting core :0
Result after deleting core :    893 ?        Ssl    0:38 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml
   1360 ?        Ssl    0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
  40425 ?        Ss     0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2749337 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook6.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  40455 ?        S      0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2749337 COMPONENT=examples/ros ;   cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/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/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook6.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  40467 ?        S      0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.94e28ee213d9fee82e23c96e6e6778f8 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook6.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  40510 ?        S      0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook6.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1
  41434 pts/0    S+     0:00 /bin/bash -c ps ax | grep -E 'ros|python'
  41436 pts/0    S+     0:00 grep -E ros|python

* Exiting killProcessByPID function *

Extended Capabilities

expand all

C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.

Version History

Introduced in R2019b

expand all