Skip to content

ndi.cloud.api.compute.startSession

 STARTSESSION User-facing wrapper to start a new compute session.

    [B, ANSWER, APIRESPONSE, APIURL] = ndi.cloud.api.compute.startSession(PIPELINEID, INPUTPARAMETERS)

    Starts a new compute session for the specified pipeline.

    Inputs:
        pipelineId      - The ID of the pipeline to start.
        inputParameters - (Optional) Structure containing input parameters. Defaults to empty struct.

    Outputs:
        b            - True if the call succeeded, false otherwise.
        answer       - The response struct on success, or an error struct/message on failure.
        apiResponse  - The full matlab.net.http.ResponseMessage object.
        apiURL       - The URL that was called.

    See also: ndi.cloud.api.implementation.compute.StartSession