Add 'cab' button to figure

Add a 'cab' button to a figure which, when clicked, closes all figures except the current one.

You are now following this Submission

This is just an extension of the 'cab' function that allows you to close all figures except those listed as arguments. Instead of calling 'cab' from the command line, now you can just click a button on your plot. Use this function as follows:

figure
add_cab_to_plot

Cite As

Karl (2026). Add 'cab' button to figure (https://uk.mathworks.com/matlabcentral/fileexchange/25161-add-cab-button-to-figure), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0