Main Content

mpmRemoveRepository

Remove repository from repository list

Since R2024b

    Description

    mpmRemoveRepository(repoLocation) removes the specified repository from the MATLAB® repository list.

    example

    mpmRemoveRepository(repoObj) removes the specified matlab.mpm.Repository object from the list of known repositories.

    Examples

    collapse all

    Remove the repository located at C:\MyCode\MyPackageRepository from the repository list.

    mpmRemoveRepository("C:\MyCode\MyPackageRepository")

    Input Arguments

    collapse all

    Repository location or name, specified as a string array, character vector, or cell array of character vectors where each element contains the location or name of the repository to be removed from the MATLAB repository list.

    Repository object, specified as a matlab.mpm.Repository array.

    Version History

    Introduced in R2024b