www.gusucode.com > sloptim工具箱matlab源码程序 > sloptim/sloptim/@ResponseOptimizer/setunc.m
%SETUNC Specify parameter uncertainty in response optimization project. % % SETUNC will be removed in a future release. Use the new Simulink Design % Optimization command line interface instead, see sdo.optimize for more % information. % % SETUNC(PROJ,UNC_SETTINGS) sets the parameter uncertainty specifications % for the response optimization project, PROJ. Use the functions GRIDUNC % or RANDUNC to specify the uncertainty settings, UNC_SETTINGS. % % Example: % proj = newsro('srotut1','Kint'); % uset = gridunc('zeta',[0.9,1,1.1],'w0',[0.95,1,1.05]) % % Include responses for all uncertain values in optimization % uset.Optimized = true % % Add uncertainty to project % setunc(proj,uset) % % See also gridunc, randunc % Copyright 1986-2011 The MathWorks, Inc.