addFolders
Class: Simulink.CloneDetection.Settings
Package: Simulink.CloneDetection
Add folders with models
Syntax
cloneDetectionSettings = cloneDetectionSettings.addFolders(FolderName)
Description
cloneDetectionSettings = cloneDetectionSettings.addFolders(
adds folder path to the FolderName
)cloneDetectionSettings
object.
Input Arguments
Output Arguments
Examples
This example shows how to add a Folder to
cloneDetectionSettings
object for finding the clones from the models inside the folder. The folder name isFolders1
.FolderName = 'Folders1'; cloneDetectionSettings = Simulink.CloneDetection.Settings(); cloneDetectionSettings = cloneDetectionSettings.addFolders(FolderName);
cloneDetectionSettings = Settings with properties: IgnoreSignalName: 0 IgnoreBlockProperty: 0 ExcludeModelReferences: 0 ExcludeLibraryLinks: 0 SelectedSystemBoundary: [] FindClonesRecursivelyInFolders: 1 ParamDifferenceThreshold: 50 ReplaceExactClonesWithSubsystemReference: 0 Libraries: {} Folders: {'C:\Users\Folders1} DetectClonesAcrossModel: 0 ExcludeInactiveRegions: 0