Main Content


Get server URL for OSLC client

Since R2021a



    myServerURL = getServer(myClient) returns the server URL for the configured OSLC client myClient.


    collapse all

    This example shows how to get the server URL for an OSLC client created in MATLAB® and configure the client to connect to an OSLC service provider for the requirements management domain.

    After you have created and configured an OSLC client as described in Create and Configure an OSLC Client for the Requirements Management Domain, get the server URL for the OSLC client myClient.

    mySeverURL = getServer(myClient)
    myServerURL =

    Input Arguments

    collapse all

    OSLC client, specified as an oslc.Client object.

    Output Arguments

    collapse all

    Server URL for OSLC client, returned as a character vector.

    Example: 'https://localhost:9443'

    Version History

    Introduced in R2021a