Main Content

matlab.mpm.Provider

Package provider

Since R2024b

    Description

    A matlab.mpm.Provider object stores package provider information. You can use a provider object to limit searches for packages using mpmsearch.

    Creation

    Description

    pkgprov = matlab.mpm.Provider(Name=Value) creates a provider object using options specified by one or more name-value arguments. For example, you can specify a provider name, organization, and email.

    example

    Input Arguments

    expand all

    Name-Value Arguments

    Specify optional pairs of arguments as Name1=Value1,...,NameN=ValueN, where Name is the argument name and Value is the corresponding value. Name-value arguments must appear after other arguments, but the order of the pairs does not matter.

    Example: pkgprov = matlab.mpm.Provider(Organization="MathWorks",URL="www.mathworks.com")

    Provider name, specified as a string scalar or character vector.

    This argument sets the Name property.

    Example: "Tex Ample"

    Provider organization, specified as a string scalar or character vector.

    This argument sets the Organization property.

    Example: "MathWorks"

    Provider email, specified as a string scalar or character vector.

    This argument sets the Email property.

    Example: "texample@mathworks.com"

    Provider website, specified as a string scalar or character vector.

    This argument sets the URL property.

    Example: "www.mathworks.com"

    Properties

    expand all

    Provider name, specified as a string scalar.

    Provider organization, specified as a string scalar.

    Provider email, specified as a string scalar.

    Provider website , specified as a string scalar.

    Examples

    collapse all

    Create a package provider object.

    pkgprov = matlab.mpm.Provider(Name="Tex Ample", ...
                                  Organization="MathWorks", ...
                                  Email="texample@mathworks.com", ...
                                  URL="www.mathworks.com")
    pkgprov = 
    
      Provider with properties:
    
                Name: "Tex Ample"
        Organization: "MathWorks"
               Email: "texample@mathworks.com"
                 URL: "www.mathworks.com"

    Version History

    Introduced in R2024b