Replacement for CLEAR to avoid destructive behavior

this clear.m ensures you'll never accidentally type "clear" or "clear all" and wipe your workspace.

Download
Download

You are now following this Submission

Cite As

Carl Witthoft (2026). Replacement for CLEAR to avoid destructive behavior (https://au.mathworks.com/matlabcentral/fileexchange/71405-replacement-for-clear-to-avoid-destructive-behavior), 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

cleaned up comments

Download
1.0.0-0

Download