www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/NameVariablestoClearandPreserveVariablesUsingRegularExprExample.m
%% Name Variables to Clear and Preserve Variables Using Regular Expressions % Clear variables with names that start with |a| and do not end with |a|. % Copyright 2015 The MathWorks, Inc. %% clearvars a* -except -regexp a$