www.gusucode.com > mbcguitools 工具箱 matlab 源码程序 > mbcguitools/@mbcmultiview/@MultiViewPanel/pCreateView.m
function hVC = pCreateView(obj, varargin) %PCREATEVIEW Create a view % % HVC = PCREATEVIEW(OBJ, VIEWINDEX) creates the specified view. The view % will be invisible. A handle to a viewcontainer that contains the view % will be returned. % % HVIEW = PCREATEVIEW(OBJ) chooses the view that will be created % automatically. % Copyright 2005-2011 The MathWorks, Inc. and Ford Global Technologies, Inc. if ~isempty(obj.ViewList) hVC = obj.pCreateContainer(varargin{:}); else error(message('mbc:mbcmultiview:MultiViewPanel:InvalidState')); end