(Not recommended) Resume execution of MATLAB command line
resume is not recommended. For more information, see Compatibility Considerations.
Not recommended starting in R2018b
Starting in R2018b, new ROI functions and classes replaced the existing ROI functions and objects, as described in the table. The new classes provide more functional capabilities, such as face color transparency. The new classes also support events that you can use to respond to changes in your ROI such as moving or being clicked. Switch to the new ROIs to take advantage of the additional capabilities and flexibility. For more information on creating ROIs using the new ROI functions, see ROI Creation Overview.
resume function operates on the old ROI objects and is no
longer recommended. For the new ROI objects, you can define a custom wait function
that blocks the MATLAB command line until you have finished positioning the ROI. The new ROI
objects enable you to resume execution of the command line after several types of
actions, such as clicking the ROI while pressing the Shift key or clicking a
specific part of the ROI such as the label. For an example, see Use Wait Function After Drawing ROI.
There are no plans to remove the old ROI objects or the
function at this time.