%% Clear Global Variables Except Specified
% Clear all global variables, except those with names that start with x.

clearvars -global -except x*

% Copyright 2015 The MathWorks, Inc.