breakpoints = [3 5;4 6];
writeLookupTableData(st,'Kp Lookup',breakpoints)
Update Rectangular Portion of Lookup Table
Suppose you have retuned design points between the third and fifth values of the first
scheduling variable, and the seventh and tenth values of the second scheduling variables.
Update the lookup table with the new values.
ix1 = 3:5;
ix2 = 7:10;
writeLookupTableData(st,'Kp Lookup',ix1,ix2)
Input Arguments
st — Interface for tuning control systems modeled in Simulink
slTuner interface
Interface for tuning control systems modeled in Simulink, specified as an slTuner
interface.
blockid — Lookup table
character vector | string
Lookup table to update with tuned values, specified as a character vector or string. The
block identified by blockid must be a lookup-table block in the TunedBlocks property
of the slTuner interface st. You can specify a full block path, or any portion of the block
path that uniquely identifies the block among the other tuned blocks of st.
Example: 'scdcascade/Kp Lookup'
Example: "Kp Lookup"
breakpoints — Lookup-table entries
integer array
Lookup-table entries to update, specified as an integer array. Each row of breakpoints
specifies a table entry by its (i1,i2,...,iN) subscripts. For instance:
- To update the data associated with the first and third breakpoints in a 1-D Lookup
Table block, use breakpoints = [1;3].
15 Alphabetical List