cancel
Cancel a cancellable object.
📝Syntax
cancel(obj)
📥Input Arguments
Parameter Description
obj object that supports cancellation, such as an asynchronous evaluation object.
📄Description

cancel requests cancellation of an object that supports asynchronous work. The object type provides the concrete behavior.

If the first argument does not implement cancellation, Nelson reports that the function is not implemented for that type.

💡Examples
Cancel an asynchronous evaluation.
f = parfeval(@pause, 0, 10);
cancel(f)
🔗See Also
parfevalafterEachafterAll
Used Functions
cancel
🕔Version History
Version Description
2.0.0 initial version
Edit this page on GitHub