主要内容

partrepo.setInstallFolder

Set path for part repository folder

Since R2026a

    Description

    partrepo.setInstallFolder(installPath) sets the collection install folder to the specified folder path.

    example

    Examples

    collapse all

    To set the installation folder path, use the partrepo.setInstallFolder function.

    partrepo.setInstallFolder("/myProjects/partRepo")

    Input Arguments

    collapse all

    Folder path where Simscape installs part collections, specified as a string scalar or character vector. You can specify a relative or absolute path.

    Version History

    Introduced in R2026a