www.gusucode.com > MATLAB2008应用程序接口编程技术源码程序 > MATLAB2008应用程序接口编程技术源码程序/code/第6章/6.6/randvectors.m

    function varargout = randvectors
for i = 1:nargout
    varargout{i} = rand(i,1)
end