Main Content

modelfinder.unregisterFolder

Remove models from Model Finder

Since R2022a

    Description

    modelfinder.unregisterFolder(pathsToFolders) removes one or more folder paths from the databases that are set as search databases of Model Finder. When you search after removing the folders, the models in these folders do not appear in the search results. For more information on search databases, see modelfinder.setSearchDatabase.

    example

    modelfinder.unregisterFolder(pathsToFolders,pathToDatabase) removes one or more folder paths from the database specified by pathToDatabase.

    example

    Examples

    collapse all

    Remove registered folders wireless and optical located at the specified paths from all search databases of Model Finder.

    modelfinder.unregisterFolder(["/users/data/wireless","/users/data/optical"])

    Remove registered folders wireless and optical from the database digital_systems.db.

    modelfinder.unregisterFolder(["communication/wireless","communication/optical"],...
    "communication/databases/digital_systems.db")

    Input Arguments

    collapse all

    Absolute or relative paths to folders to be removed from Model Finder, specified as a string scalar or character vector for a single folder, or a string array or cell array of character vectors for multiple folders.

    Example: "/users/data/wireless"

    Example: ["/users/data/wireless","/users/data/optical"]

    Data Types: string | char | cell

    Absolute or relative path to the database to remove folder from, specified as a string scalar or character vector. Using this argument removes the model-related information stored in the folders from the specified database only.

    Example: "communication/databases/digital_systems.db"

    Data Types: string | char

    Version History

    Introduced in R2022a

    expand all