www.gusucode.com > slcontrol 案例源码程序 matlab代码 > slcontrol/AddBlocktoslTunerInterfaceExample.m
%% Add Block to slTuner Interface %% % Open the Simulink model. mdl = 'scdcascade'; open_system(mdl); %% % Create an |slTuner| interface for the Simulink model, and add a block to % the list of tuned blocks of the interface. st = slTuner(mdl,'C1'); addBlock(st,'C2');