nuke

Script to nuke/reset your Matlab workspace

https://github.com/suever/nuke

You are now following this Submission

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 (2026). nuke (https://github.com/suever/nuke), GitHub. Retrieved .

Acknowledgements

Inspired by: clr == clear all; close all; clc;

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes Action
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

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.