Skip to content

Instantly share code, notes, and snippets.

@danielthiel
danielthiel / clear_workspace.m
Created June 10, 2015 06:23
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