Ts = BlockData.Parameters(2).Value;
sys = BlockData.BlockLinearization*Thiran(Td,Ts);
end
Save this function to a location on the MATLAB path.
To use this function as a custom linearization for a block or subsystem, specify the
blocksub.Value.Specification and blocksub.Value.Type fields.
blocksub.Value.Specification = 'myCustomFunction';
blocksub.Value.Type = 'Function';
To set the delay and sample time parameter values, specify the
blocksub.Value.ParameterNames and blocksub.Value.ParameterValues fields.
blocksub.Value.ParameterNames = {'Td','Ts'};
blocksub.Value.ParameterValues = [0.5 0.1];
See Also
addOpening | addPoint | getCompSensitivity | getIOTransfer |
getLoopTransfer | getSensitivity | linearize
Topics
“What Is Batch Linearization?” on page 3-2
“How the Software Treats Loop Openings” on page 2-44
“Batch Linearization Efficiency When You Vary Parameter Values” on page 3-10
“Batch Compute Steady-State Operating Points for Multiple Specifications” on page 1-91
“Specify Parameter Samples for Batch Linearization” on page 3-62
“Vary Operating Points and Obtain Multiple Transfer Functions Using slLinearizer
Interface” on page 3-41
“Vary Parameter Values and Obtain Multiple Transfer Functions” on page 3-32
Introduced in R2013b
15 Alphabetical List