Simulink Control Design™ - MathWorks

(Tuis.) #1

c Click OK.


Configuring the Block Linearization Specification dialog box updates the model to use
the specified linearization function for linearizing the Saturation Block. Specifically,
this configuration automatically populates the Parameters field of the BlockData
structure, which is the input argument to the configuration function.


Note You can add function parameters by clicking. Use to delete selected
parameters.


Code Alternative


This code is equivalent to configuring the Block Linearization Specification dialog
box:


satblk = 'configSatBlockFcn/Saturation';
set_param(satblk,'SCDEnableBlockLinearizationSpecification','on')
rep = struct('Specification','mySaturationLinearizationFcn',...
'Type','Function',...
'ParameterNames','SaturationLimit',...


Specify D-Matrix System for Block Linearization Using Function
Free download pdf