%% Remove Label from Label Definition Creator Object for Multisignal Workflow
% Load an existing label definitions table into the workspace.

labelDefFile = fullfile(toolboxdir('driving'),'drivingdata','labelDefsMultiSignal.mat');
ld = load(labelDefFile)

% Create a labelDefinitionCreatorMultisignal object from the label definitions table.

ldc = labelDefinitionCreatorMultisignal(ld.labelDefs)

% Remove the label called 'Car'.

removeLabel(ldc,'Car');

% Display the details of the updated labelDefinitionCreatorMultisignal object to confirm that the label has been removed.

ldc

% Copyright 2019 The MathWorks, Inc.