Skip to content

Instantly share code, notes, and snippets.

@danielthiel
Created June 10, 2015 06:23
Show Gist options
  • Save danielthiel/2d87f90bd05cfb8273dd to your computer and use it in GitHub Desktop.
Save danielthiel/2d87f90bd05cfb8273dd to your computer and use it in GitHub Desktop.
clear matlab workspace (closing figures and open simulink models)
% clear workspace
clear % erase variables from matlab workspace without saving
clc % clear command window
close all % close all figures windows wihtout saving
bdclose all % close all simulink models without saving
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment