%% Rename Label Group in Label Definition Creator Object for Multisignal Workflow
% Create an empty labelDefinitionCreatorMultisignal object.

ldc = labelDefinitionCreatorMultisignal;

% Add labels named 'Car' and 'Truck' in a group named 'Vehicle'.

addLabel(ldc,'Car',labelType.Rectangle,'Group','Vehicle');
addLabel(ldc,'Truck',labelType.Rectangle,'Group','Vehicle');

% Change the 'Vehicle' group name 'FourWheeler'.

editGroupName(ldc,'Vehicle','FourWheeler');

% Display the details of the updated labelDefinitionCreatorMultisignal object.

ldc

% Copyright 2019 The MathWorks, Inc.