getResult
Syntax
Description
        returns the result message resultMsg = getResult(client,goalHandle)resultMsg associated with the execution of
        the goal specified by goalHandle. The goal must be sent by the action
        client client. This syntax blocks MATLAB® from running the current program until the action server provides
          resultMsg. You can Press Ctrl+C to cancel the
        wait.
        returns the result message resultMsg = getResult(goalHandle)resultMsg associated with the execution of
        the goal specified by goalHandle. This syntax blocks MATLAB from running the current program until the action server provides
          resultMsg. You can Press Ctrl+C to cancel the
        wait.
        specifies a timeout period in seconds using the name-value argument
          resultMsg = getResult(___,Timeout=timeoutperiod)Timeout=timeoutperiod. If the action server does not return the result
        message in the timeout period, this function displays an error and lets MATLAB continue running the current program. The default value of
          inf prevents MATLAB from running the current program until the action client receives a cancel
        response.
[
        returns a resultMsg,status,statustext] = getResult(___)status indicating whether the action client received the result
        message, and a statustext that captures additional information about the
          status, using any of the arguments from the previous syntaxes. If the
        action server does not return the result message within the Timeout,
          status will be false, and this function will not
        display an error.
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2023a