Horizontally concatenate one to many TestCase Objects
TESTCASES = horzcat(VARARGIN)
TESTCASES = horzcat(VARARGIN) horizontally concatenates one to many scalar or arrays of systest.TestCase objects for the overloaded function systest.TesCase/horzcat .
All TestCase objects must have unique names.
When creating an array of TestCases, the SignalNames property will be updated to ensure all TestCases have the same SignalNames. If a TestCase does not have a SignalName that another TestCase does, then it will be updated to map to the same Signal as the other TestCase.
Create a 1 x 3 list of TestCase objects.
tc1 = systest.TestCase('Test Case 1', 'In1'); tc2 = systest.TestCase('Test Case 2', 'In2'); tc3 = systest.TestCase('Test Case 3', 'In3'); testCases = [tc1 tc2 tc3] testCases(2)