Main Content

removeFolders

Class: Simulink.CloneDetection.Settings
Namespace: Simulink.CloneDetection

Remove folder

Syntax

cloneDetectionSettings = removeFolders(cloneDetectionSettings,FolderName)

Description

cloneDetectionSettings = removeFolders(cloneDetectionSettings,FolderName) removes folder from cloneDetectionSettings object.

Input Arguments

expand all

Clone Detection Settings, specified as a Simulink.CloneDetection.Settings object.

Name of the folder, specified as a character vector.

Output Arguments

expand all

Clone Detection Settings, specified as a Simulink.CloneDetection.Settings object.

Examples

expand all

This example shows how to remove a folder from cloneDetectionSettings object. Suppose the folder name is Folders1.

Save the folder name, Folders1, to the variable FolderName.

FolderName = 'Folders1';

Remove the folder name to the clone detection settings.

cloneDetectionSettings = removeFolders(cloneDetectionSettings,FolderName)