Main Content

prodserver.addon.get

Get value of MATLAB Production Server add-on property

Since R2020a

    Description

    value = prodserver.addon.get(name) returns the value of the MATLAB® Production Server™ add-on property specified by name.

    example

    props = prodserver.addon.get returns the values of all MATLAB Production Server add-on properties.

    example

    Examples

    collapse all

    Get the value of the TransportLayerSecurity property.

    tls = prodserver.addon.get('TransportLayerSecurity')
    tls =
    
      logical
    
       0

    The output indicates that the client does not use HTTPS for client-server communication.

    Get values of all MATLAB Production Server add-on properties.

    props = prodserver.addon.get
    props = 
    
      struct with fields:
    
        TransportLayerSecurity: 1
               CertificateFile: [1×0 string]

    The TransportLayerSecurity field in the output indicates that the client uses HTTPS for client-server communication.

    Input Arguments

    collapse all

    Name of the MATLAB Production Server add-on property, specified as a character vector or scalar. You can specify only valid property names. Valid property names are:

    • TransportLayerSecurity

    • CertificateFile

    Example: 'TransportLayerSecurity'

    Data Types: char | string

    Output Arguments

    collapse all

    Value of the MATLAB Production Server add-on property, returned as a character vector or string.

    Values of all MATLAB Production Server add-on properties, returned as a structure. The structure contains the following fields:

    • TransportLayerSecurity — Boolean that indicates whether the client uses HTTPS.

    • CertificateFile — Path to the SSL certificate of the server. For more information, see Save SSL Certificate of Server.

    Version History

    Introduced in R2020a