%--------------------------------------------------------------------------
% MATRICE.horzcat
%--------------------------------------------------------------------------
% Concatenate MATRICE objects.
%--------------------------------------------------------------------------
% Syntax
%--------------------------------------------------------------------------
MAT = MATRICE.horzcat(MA1,...
MAN)
MAT = horzcat(MA1,...
MAN)
MAT = [MA1 ...
MAN]
%--------------------------------------------------------------------------
% Description
%--------------------------------------------------------------------------
% MATRICE.horzcat allows for concatening MATRICE objects.
%--------------------------------------------------------------------------
% Input arguments
%--------------------------------------------------------------------------
% MA1...MAN : MATRICE object
%--------------------------------------------------------------------------
% Output arguments
%--------------------------------------------------------------------------
% MAT : MATRICE object
%--------------------------------------------------------------------------
% Example
%--------------------------------------------------------------------------
CL1 = MATRICE('DIRI','L1',1,2);
CL2 = MATRICE('POINT_RELA',3,1,'P1',-1,2,'P3');
CL3 = MATRICE('POINT_RELA',1,2,'P2',-6,2,'P4');
CLT = [CL1 [CL2 CL3]]
CLT =
MATRICE with properties:
mat_elem: [1x12 MAT_ELEM]
type: 'DIRI'