www.gusucode.com > mbctools 工具箱 matlab 源码程序 > mbctools/@mdevtestplan/viewLayout.m
function varargout = viewLayout(T,type,s) %viewLayout view layouts and settings % s = viewLayout(T,type) % T = viewLayout(T,type,s) % % type is 'Testplan','Global','Local','PtByPt','Twostage' % Copyright 2015-2015 The MathWorks, Inc. and Ford Global Technologies, Inc. if ~any(strcmp(type,{'Testplan','Global','Local','PtByPt','TwoStage'})) error('mbc:mdevtestplan:InvalidViewType','Unknown view type %s',type) end if nargin<3 s = T.Layout.(type); varargout{1} = s; else T.Layout.(type) = s; xregpointer(T); varargout{1} = T; end