prodserver.addon.availableAddOns
MATLAB Production Server add-ons available on active server instance
Syntax
Description
returns the add-ons available on an active MATLAB®
Production Server™ server instance.addons
= prodserver.addon.availableAddOns(host
,port
)
This function requires MATLAB Client for MATLAB Production Server.
Examples
Add-Ons Available on Server
Find the names of add-ons that are available on an active server instance.
First, host a deployable archive fractal
on a MATLAB
Production Server instance. You must include a MATLAB function signature file when you create the archive. You must enable the
discovery
service on the server instance that hosts the archive. For information on how
to create and deploy the archive, see Create Deployable Archive for MATLAB Production Server and Deploy Archive to MATLAB Production Server.
Start the server instance running at localhost
and port
57142
.
Find which add-ons are available on the server.
addons = prodserver.addon.availableAddOns('localhost',57142)
addons = 1×8 table Name Release Version Installed Identifier Scheme Host Port _____________ _________ _______ _________ ______________________________________ _______ ___________ _____ "fractal" "R2020b" "1.0.0" true "76643195-2ba3-4574-8fd0-084cc51251aa" "http" "localhost" 57142
The output indicates that the fractal
add-on is available and is
also installed on the client machine.
Add-Ons Available on Server that Uses HTTPS
Find the names of add-ons that are available on an active server instance that uses HTTPS.
First, enable HTTPS on a MATLAB Production Server instance. For more information, see Enable HTTPS.
Host a deployable archive fractal
on the server instance. You
must include a MATLAB function signature file when you create the archive. You must enable the
discovery
service on the server instance that hosts the archive. For information on how
to create and deploy the archive, see Create Deployable Archive for MATLAB Production Server and Deploy Archive to MATLAB Production Server.
Start the server instance running at localhost
and port
57143
.
Find which add-ons are available on the server.
addons = prodserver.addon.availableAddOns('localhost',57143,'TransportLayerSecurity',true)
addons = 1×8 table Name Release Version Installed Identifier Scheme Host Port _____________ _________ _______ _________ ______________________________________ _______ ___________ _____ "fractal" "R2020b" "1.0.0" true "76643195-2ba3-4574-8fd0-084cc51251aa" "https" "localhost" 57143
The output indicates that the fractal
add-on is available and is
also installed on the client machine.
Input Arguments
host
— Host name of server
character vector | string scalar
Host name of the server hosting a deployable archive from which an add-on is installed, specified as a character vector or string scalar.
Example: '144.213.5.7'
Data Types: char
| string
port
— Port number of server
positive scalar
Port number of the server hosting a deployable archive from which an add-on is installed, specified as a positive scalar.
Example: 9920
Data Types: uint8
| uint16
tf
— Flag to set URI scheme
false (default) | true
Flag that sets the URI scheme that the add-on uses when communicating with a server,
specified as a logical scalar. If you do not set tf
or if you set
tf
to false
, the function uses
http
. If you set tf
to true
,
the function uses https
.
Example: true
Data Types: logical
Output Arguments
addons
— List of available MATLAB Production Server add-ons
table
List of available MATLAB Production Server add-ons on a server instance, specified as a table. If multiple add-ons are available, each add-on is listed in a separate row. Each row has the following columns:
Name
— Name of the available add-on.Release
— Version of MATLAB used to create the add-on.Version
— Author-specified version of the add-on.Installed
— Boolean indicating whether the add-on is installed on the client machine. Iftrue
, the add-on is installed. Iffalse
, the add-on is not installed.Identifier
— String uniquely identifying the add-on. For more information, seeprodserver.addon.install
.Host
— Host name of the server that makes the add-on available.Port
— Port number of the server that makes the add-on available.
Version History
Introduced in R2019b
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)