matlab.mixin.Heterogeneous.horzcat - Horizontal concatenation for heterogeneous arrays - MATLAB (original) (raw)

Main Content

Class: matlab.mixin.Heterogeneous
Namespace: matlab.mixin

Horizontal concatenation for heterogeneous arrays

Syntax

C = horzcat(A1,A2,...,An)

Description

C = horzcat(`A1`,`A2`,...,`An`) concatenates two or more matlab.mixin.Heterogeneous object arrays (A1, A2, and so on) to form the arrayC. The input arrays must have the same number of rows, and they must be of the same hierarchy or convertible to the same hierarchy.

When A1, A2, and so on are arrays ofmatlab.mixin.Heterogeneous objects, MATLABĀ® calls horzcat for these types of statements.

C = [A1,A2,...] C = [A1 A2 ...]

Input Arguments

expand all

Object arrays to concatenate. The input arrays must have the same number of rows.

Version History

Introduced in R2011a