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

    %% Display Tunable Block Values  

%%
% Open the Simulink model.
mdl = 'scdcascade';
open_system(mdl);

%% 
% Create an |slTuner| interface for the model, and add |C1| and |C2| as tuned 
% blocks of the interface.  
st = slTuner(mdl,{'C1','C2'});  

%% 
% Display the default values of the tuned blocks. 
showTunable(st);