%% Create a New Data Symbol
% This example creates a parameter theta in the Test Sequence block.

% Copyright 2020 The MathWorks, Inc.

%% Open the Model and the Test Harness
rollModel = 'RollAutopilotMdlRef';
testHarness = 'RollReference_Requirement1_3';

open_system(rollModel);
sltest.harness.open([rollModel '/Roll Reference'],testHarness);

%% Add a New Parameter
sltest.testsequence.addSymbol...
   ('RollReference_Requirement1_3/Test Sequence',...
   'theta','Data','Parameter');
