%% Create a Test Sequence Block and Get Block Properties
% This example shows how to create a Test Sequence block programmatically, and get properties for the block, which can be used in Name, Value pairs for sltest.testsequence.setProperty.
% 1. Create a model and a Test Sequence block.

new_system('tsb_model');
sltest.testsequence.newBlock('tsb_model/Test Sequence');

%
% 2. Get properties of the Test Sequence block.

block_properties = sltest.testsequence.getProperty...
    ('tsb_model/Test Sequence')

%
% 3. Close the model.

close_system('tsb_model',0)

%
% Copyright 2012 The MathWorks, Inc.