www.gusucode.com > mbc 工具箱 matlab 源码程序 > mbc/mbcuint32.m
function output = mbcuint32(varargin) %MBCUINT32 Create arrays of type uint32 % % MBCUINT32(DIMS) creates a uint32 array of the specified size. % % FCN = MBCUINT32 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 = @i_uint32zeros; end if nargin output = zeros(varargin{:}, 'uint32'); else output = fcnH; end function array = i_uint32zeros(varargin) array = zeros(varargin{:}, 'uint32');