Skip to Main Content Skip to Search
Product Documentation

horzcat - Horizontally concatenate one to many TestCase Objects

Syntax

TESTCASES = horzcat(VARARGIN)

Description

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.

Examples

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)

How To

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS