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

ldc = labelDefinitionCreatorMultisignal;

% Add a label named 'Car' in a group named 'Vehicle'. Set the type of the label as 'Rectangle'. Adding a 'Rectangle' also adds a 'Cuboid' entry to the label definitions table.

addLabel(ldc,'Car','Rectangle','Group','Vehicle')

% Display information about the group name of the label 'Car' using the object function info.

info(ldc,'Car')

% Add a label named 'Truck' to group named 'FourWheeler'. Set the type of the label as 'Rectangle'.

addLabel(ldc,'Truck',labelType.Rectangle,'Group','FourWheeler')

% Move the 'Car' label into the 'FourWheeler' group.

editLabelGroup(ldc,'Car','FourWheeler')

% Display information about the label 'Car' to confirm the group name of the label is changed from 'Vehicle' to 'FourWheeler' using the object function info.

info(ldc,'Car')

% Copyright 2019 The MathWorks, Inc.