fetchOutput
Syntax
Description
Add-On Required: This feature requires the MATLAB Support Package for Quantum Computing add-on.
returns the measurement result of a finished quantum task.m = fetchOutput(task)
A measurement result is obtained only if the status of the task is
"finished" and the task is not canceled. You can use
wait(task) to make sure a task is finished before retrieving the
measurement result using fetchOutput.

