www.gusucode.com > slcontrol 案例源码程序 matlab代码 > slcontrol/CreateOptionSetForSlTunerInterfaceExample.m

    %% Create Option Set for |slTuner| Interface 
% Create an option set for an |slTuner| interface that sets the rate
% conversion method to the Tustin method with prewarping at a frequency of
% 10 rad/s.

%%  
options = slTunerOptions('RateConversionMethod','prewarp',...
                           'PreWarpFreq',10);
                         
%% 
% Alternatively, use dot notation to set the values of |options|. 
options = slTunerOptions;
options.RateConversionMethod = 'prewarp';
options.PreWarpFreq = 10;