if strcmp(vehicle, 'Car')
Simulink.Bus.cellToObject({
{
    'cm14WheelInArray', {
	{'FL',	1,'cm14WheelIn', -1, 'real', 'Sample'};
	{'FR',	1,'cm14WheelIn', -1, 'real', 'Sample'};
	{'RL',	1,'cm14WheelIn', -1, 'real', 'Sample'};
	{'RR',	1,'cm14WheelIn', -1, 'real', 'Sample'};
    }
}
{
    'cm14WheelOutArray', {
	{'FL',	1,'cm14WheelOut', -1, 'real', 'Sample'};
	{'FR',	1,'cm14WheelOut', -1, 'real', 'Sample'};
	{'RL',	1,'cm14WheelOut', -1, 'real', 'Sample'};
	{'RR',	1,'cm14WheelOut', -1, 'real', 'Sample'};
    }
}
});
elseif strcmp(vehicle, 'Truck')
Simulink.Bus.cellToObject({
{
    'cm14WheelInArray', {
	{'FL',	1,'cm14WheelIn', -1, 'real', 'Sample'};
	{'FR',	1,'cm14WheelIn', -1, 'real', 'Sample'};
	{'RL',	1,'cm14WheelIn', -1, 'real', 'Sample'};
	{'RR',	1,'cm14WheelIn', -1, 'real', 'Sample'};
	{'RL2',	1,'cm14WheelIn', -1, 'real', 'Sample'};
	{'RR2',	1,'cm14WheelIn', -1, 'real', 'Sample'};
	{'FL2',	1,'cm14WheelIn', -1, 'real', 'Sample'};
	{'FR2',	1,'cm14WheelIn', -1, 'real', 'Sample'};
    }
}
{
    'cm14WheelOutArray', {
	{'FL',	1,'cm14WheelOut', -1, 'real', 'Sample'};
	{'FR',	1,'cm14WheelOut', -1, 'real', 'Sample'};
	{'RL',	1,'cm14WheelOut', -1, 'real', 'Sample'};
	{'RR',	1,'cm14WheelOut', -1, 'real', 'Sample'};
	{'RL2',	1,'cm14WheelOut', -1, 'real', 'Sample'};
	{'RR2',	1,'cm14WheelOut', -1, 'real', 'Sample'};
	{'FL2',	1,'cm14WheelOut', -1, 'real', 'Sample'};
	{'FR2',	1,'cm14WheelOut', -1, 'real', 'Sample'};
    }
}
});
end
Simulink.Bus.cellToObject({
% Input Bus
{
    'cm14DLXWDDriveIn', {
	{'Inert_in',	1,'double', -1, 'real', 'Sample'};
	{'Trq_in',	1,'double', -1, 'real', 'Sample'};
    }
}
{
    'cm14WheelIn', {
	{'rot',		1,'double', -1, 'real', 'Sample'};
	{'rotv',	1,'double', -1, 'real', 'Sample'};
    }
}
{
    'cmPTDriveLineXWDIn', {
	{'DriveIn',	1,'cm14DLXWDDriveIn', -1, 'real', 'Sample'};
	{'WheelIn',	1,'cm14WheelInArray', -1, 'real', 'Sample'};
    }
}
% Output Bus
{
    'cm142DRot', {
	{'rx',	1,'double', -1, 'real', 'Sample'};
	{'ry',	1,'double', -1, 'real', 'Sample'};
    }
}
{
    'cm143DRot', {
	{'rx',	1,'double', -1, 'real', 'Sample'};
	{'ry',	1,'double', -1, 'real', 'Sample'};
	{'rz',	1,'double', -1, 'real', 'Sample'};
    }
}
{
    'cm14DLXWDDriveOut', {
	{'rot_in',	1,'double', -1, 'real', 'Sample'};
	{'rotv_in',	1,'double', -1, 'real', 'Sample'};
    }
}
{
    'cm14PowerDelta', {
	{'PlanetGear',	1,'double', -1, 'real', 'Sample'};
	{'Diffs',	1,'double', -1, 'real', 'Sample'};
	{'Shafts',	1,'double', -1, 'real', 'Sample'};
	{'Spring_DL',	1,'double', -1, 'real', 'Sample'};
	{'Inert_DL',	1,'double', -1, 'real', 'Sample'};
    }
}
{
    'cm14WheelOut', {
	{'Inert_in',	1,'double', -1, 'real', 'Sample'};
	{'Trq_Drive',	1,'double', -1, 'real', 'Sample'};
	{'Trq_Supp2WC',	1,'double', -1, 'real', 'Sample'};
    }
}
{
    'cmPTDriveLineXWDOut', {
	{'Trq_Supp2Bdy1',	1,'cm143DRot', -1, 'real', 'Sample'};
	{'Trq_Supp2Bdy1B',	1,'cm143DRot', -1, 'real', 'Sample'};
	{'Trq_Supp2BdyEng',	1,'cm142DRot', -1, 'real', 'Sample'};
	{'iDiff_mean',		1,'double', -1, 'real', 'Sample'};	
	{'DriveOut',		1,'cm14DLXWDDriveOut', -1, 'real', 'Sample'};
	{'WheelOut',		1,'cm14WheelOutArray', -1, 'real', 'Sample'};
	{'PowerDelta',		1,'cm14PowerDelta', -1, 'real', 'Sample'};

    }
}
% Cfg Input Bus
{
    'cmPTDriveLineXWDCfgIn', {
	{'nWheels',	1, 'double', -1, 'real', 'Sample'};
    }
}
% Cfg Output Bus
{
    'cmPTDriveLineXWDCfgOut', {
	{'iDiff_mean',	1, 'double', -1, 'real', 'Sample'};
    }
}
});