www.gusucode.com > mbc 工具箱 matlab 源码程序 > mbc/mbclogical.m
function output = mbclogical(varargin) %MBCLOGICAL Create arrays of type logical % % MBCLOGICAL(DIMS) creates a logical array of the specified size. % % FCN = MBCLOGICAL returns a function handle that will generate arrays % given the desired size. % Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc. persistent fcnH if isempty(fcnH) fcnH = @false; end if nargin output = false(varargin{:}); else output = fcnH; end