Main Content

prodserver.addon.uninstall

Uninstall MATLAB Production Server add-on

    Description

    prodserver.addon.uninstall(name,host,port) uninstalls a MATLAB® Production Server™ add-on that is installed from a server whose address is specified by host and port.

    Uninstalling a MATLAB Production Server add-on removes the add-on, including all functions, examples, and documentation available in the add-on. Uninstalling a MATLAB Production Server add-on does not modify or remove any code that calls the functions available in the add-on. The server instance is not required to be running for the add-on to be uninstalled.

    This function requires MATLAB Client for MATLAB Production Server.

    example

    prodserver.addon.uninstall(name,host,port,'TransportLayerSecurity',tf) additionally allows you to specify the URI scheme (HTTP or HTTPS) that the server uses.

    example

    prodserver.addon.uninstall(name,endpoint) lets you specify a network address to identify the server.

    example

    prodserver.addon.uninstall(identifier) uninstalls the add-on specified by identifier.

    example

    Examples

    collapse all

    Uninstall a MATLAB Production Server add-on using the add-on name, and the host name and port number of the server from which the add-on was installed.

    First, install the fractal add-on from a server running at IP address 10.2.2.5 and port 57142. For more information, see prodserver.addon.install.

    Use the name of the add-on, and the IP address and port number of the server from which it was installed to uninstall the add-on.

    prodserver.addon.uninstall('fractal','10.2.2.5',57142)

    Uninstall a MATLAB Production Server add-on that uses HTTPS to communicate with a server by using the host name and port number of the server from which it was installed.

    First, install the fractal add-on from a server running at IP address 10.2.2.5 and port 57144, and using the default HTTP scheme. For more information, see prodserver.addon.install.

    To uninstall the add-on, specify the name of the add-on, and the host name and port number of the server from which the add-on was installed. Also, specify the HTTPS scheme by setting the TransportLayerSecurity property to true.

    prodserver.addon.uninstall('fractal','10.2.2.5',57144,'TransportLayerSecurity',true)

    Uninstall a MATLAB Production Server add-on using the add-on name and network address of the server from which it was installed.

    First, install the fractal add-on from a server running at http://10.2.2.5:57142. For more information, see prodserver.addon.install.

    Use the name of the add-on and the network address of the server from which it was installed to uninstall the add-on.

    prodserver.addon.uninstall('fractal','http://10.2.2.5:57142')

    Uninstall a MATLAB Production Server add-on using its unique identifier.

    First, install a MATLAB Production Server add-on fractal using prodserver.addon.install.

    prodserver.addon.install returns an identifier that uniquely identifies the add-on.

    Use the unique identifier to uninstall the add-on.

    prodserver.addon.uninstall('3c192cbd-95dc-4263-a722-6d594b9ae12c')

    Input Arguments

    collapse all

    String uniquely identifying the add-on, specified as a character vector or string scalar.

    Example: '3c192cbd-95dc-4263-a722-6d594b9ae12c'

    Data Types: char | string

    Name of the MATLAB Production Server add-on to uninstall, specified as a character vector or string scalar.

    Example: 'fractal'

    Data Types: char | string

    Network address of the server hosting a deployable archive from which the add-on is installed, specified as a character vector or string scalar. The network address has the format scheme://host_name_of_server:port_number.

    Example: 'https://localhost:9910'

    Data Types: char | string

    Host name of the server hosting a deployable archive from which the add-on is installed, specified as a character vector or string scalar.

    Example: '144.213.5.7'

    Data Types: char | string

    Port number of the server hosting a deployable archive from which the add-on is installed, specified as a positive scalar.

    Example: 9920

    Data Types: uint8 | uint16

    Flag that determines the URI scheme that the server uses, specified as a logical scalar.

    • true — The add-on uses HTTPS.

    • false — The add-on uses HTTP.

    Example: 'TransportLayerSecurity',true

    Data Types: logical

    Version History

    Introduced in R2019b