Skip to Main Content Skip to Search
Product Documentation

cat - Class: matlab.mixin.Heterogeneous
Package: matlab.mixin

Concatenation for heterogeneous arrays

Syntax

C = cat(dim,A,B)

Description

C = cat(dim,A,B) concatenates objects A and B along the dimension dim. The class of object arrays A and B must be derived from the same root class of a matlab.mixin.Heterogeneous hierarchy.

The cat method is sealed in the class matlab.mixin.Heterogeneous and, therefore, you cannot override it in subclasses.

Input Arguments

dim

Scalar dimension along which to concatenate arrays

A

Object array derived from the same root subclass of matlab.mixin.Heterogeneous as B

B

Object array derived from the same root subclass of matlab.mixin.Heterogeneous as A

Output Arguments

C

Array resulting from the specified concatenation. The class of this array is that of the most specific superclass shared by A and B.

Attributes

Sealedtrue

To learn about attributes of methods, see Method Attributes in the MATLAB Object-Oriented Programming documentation.

See Also

cat | matlab.mixin.Heterogeneous

  


» Learn more
» Download free kit
» Get trial software

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