摘自matlab
Utilities for obsolete MUTOOLS commands.
subs 既是目录也是函数。
subs Symbolic substitution.
subs(S,OLD,NEW) replaces OLD with NEW in the symbolic expression S.
OLD is a symbolic variable, a string representing a variable name, or
a string (quoted) expression. NEW is a symbolic or numeric variable
or expression.
subs(S,VALUES), where VALUES is a STRUCT, replaces the symbolic
variables in S which are field names in VALUES by the corresponding
entries of the struct.
subs(S) replaces all the variables in the symbolic expression S with
values obtained from the calling function, or the MATLAB workspace.
subs(S,NEW) replaces the free symbolic variable in S with NEW.
If OLD and NEW are vectors or arrays of the same size, each element
of OLD is replaced by the corresponding element of NEW. If S and OLD
are scalars and NEW is an array or cell array, the scalars are expanded
to produce an array result.