function rtobj_getTestList

% 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
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'