www.gusucode.com > mbcexpr 工具箱 matlab 源码程序 > mbcexpr/@cgmodexpr/block.m

    function h = block(mod, axH)
%BLOCK Create a block for model linkages gui
%
%  H = BLOCK(MODEL, AX)

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


% return the handle for the shape in the block diagram 
h = rectangle('Parent', axH, ...
    'Curvature',[0.1 0.05], ...
    'FaceColor', [120 180 220]/255);