www.gusucode.com > mbctools 工具箱 matlab 源码程序 > mbctools/@sweepset/setsweeps.m
function S3 = setsweeps(S1,S2) %SETSWEEPS Set sweep definition % % S3=setsweeps(S1,S2) defines the sweep information of S1 to be the same % as S2 if they have the same number of records. % Copyright 2000-2005 The MathWorks, Inc. and Ford Global Technologies, Inc. if size(S1,1)~=size(S2,1) error(message('mbc:sweepset:InvalidArgument14')); end S3 = S1; S3.xregdataset = S2.xregdataset;