function rtobj_getSharedMemRTDBName

% Create a new real-time host environment collection object
rthosts = simwb.rthosts
% Get names of real-time host environments present in the collection
rthosts.getRTEnvNames
% Create a new real-time host object and link it to the RedHawk1
% environment
rtobj1 = simwb.rtobj('RedHawk1')
% Get a list of tests that are available on the real-time host
testlist = rtobj1.getTestList
% Start the suspension_demo test. This will create a new test session
rtobj1.startTestSession('suspension_demo')
% Load the autotrans RTDB into configuration memory
rtobj1.loadConfigRTDB('autotrans')
% Get the name of the configuration RTDB that is currently loaded
rtobj1.getConfigRTDBName
% Get test status
[status test] = rtobj1.getTestStatus
% Get the name of the RTDB loaded into shared memory
rtobj1.getSharedMemRTDBName
rthosts = 

  simwb handle

  Properties:
    NumHosts: 3



ans = 

    'RedHawk1'
    'RedHawk2'
    'RedHawk3'


rtobj1 = 

  simwb.rtobj handle
  Package: simwb

  Properties:
    RTHostName: 'RedHawk1'
     Connected: 1
     RTWStruct: [1x1 struct]



testlist = 

    '2Dparameter'
    'CAN_TestLoopBack'
    'New_mulit_model'
    'VectorTest'
    'anishtest1'
    'ao16wave'
    'arinc429FIFOSched'
    'autotrans'
    'carjoy'
    'd96_single_board'
    'ert_cardemojoy'
    'f14_1'
    'fgfsUAV'
    'flex_dyn'
    'fuelsys'
    'multi_models'
    'multigen'
    'rtdemo1'
    'rtdemo1_sigg_c'
    'rtdemo1_sigg_py'
    'rtdemo2'
    'rtdemo_ref'
    'st_cardemo'
    'suspension_demo'
    'testanish1'

Test session 'suspension_demo' started.

ans =

autotrans


status =

     1


test =

suspension_demo/Ses_0037


ans =

suspension_demo