function rtobj_startTestSession

% 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')
% Get complete record for the test
[status test] = rtobj1.getTestStatus('-a')
% Get complete record for the test again. You can see the frame changing.
[status test] = rtobj1.getTestStatus('-a')
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.

status =

     1


test =

test=suspension_demo/Ses_0005,framecount=0,framelength=10000,running=1,schedop=0,schedstate=0,recording=1


status =

     1


test =

test=suspension_demo/Ses_0005,framecount=88,framelength=10000,running=1,schedop=1,schedstate=2,recording=1