nuke - A dangerous command that obliterates the workspace and figures
NUKE clears the command window, deletes all currently open figures,
clears all instances of Matlab classes, stops and removes all timers,
and clears the workspace. This script is very useful when modifying
class definition files etc. where a simple "clear all" will not
suffice.
USAGE:
nuke
See also:
CLC, CLEAR, CLOSE
Copyright (c) 2014, Jonathan Suever
All rights reserved.
Cite As
Jonathan Suever (2023). nuke (https://github.com/suever/nuke), GitHub. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired by: clr == clear all; close all; clc;
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Versions that use the GitHub default branch cannot be downloaded
Version | Published | Release Notes | |
---|---|---|---|
1.1.0.0 | Adds CLR as an acknowledgement since it does a similar thing. This script, however, does a lot more error checking to prevent issues. |
|
|
1.0.0.0 |
|