www.gusucode.com > mbcmodels 工具箱 matlab 源码程序 > mbcmodels/@xregMdlGui/@modelpane/getRequiredSize.m

    function sz = getRequiredSize(obj)
%GETREQUIREDSIZE Return the space required to fully display the model
%
%  SZ = GETREQUIREDSIZE(OBJ) returns a [width height] vector containing the
%  size that the component needs to be in order to display the model
%  description without scrollbars being required.

%  Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc.


sz = obj.hAxes.getFullSize;