Create a code replacement table.
Create a table entry for a function.
Identify the table entry as an entry for the prelookup
function.
Get the algorithm parameter settings for the prelookup
function
table entry.
algParams =
Prelookup with properties:
ExtrapMethod: [1x1 coder.algorithm.parameter.ExtrapMethod]
RndMeth: [1x1 coder.algorithm.parameter.RndMeth]
IndexSearchMethod: [1x1 coder.algorithm.parameter.IndexSearchMethod]
UseLastBreakpoint: [1x1 coder.algorithm.parameter.UseLastBreakpoint]
RemoveProtectionInput: [1x1 coder.algorithm.parameter.RemoveProtectionInput]
Examine the information for parameter ExtrapMethod
.
ans =
ExtrapMethod with properties:
Name: 'ExtrapMethod'
Options: {'Linear' 'Clip'}
Primary: 1
Value: {'Linear'}
Examine the information for parameter RndMeth
.
ans =
RndMeth with properties:
Name: 'RndMeth'
Options: {1x7 cell}
Primary: 0
Value: {1x7 cell}
Examine the current Value
setting.
ans =
Columns 1 through 6
'Ceiling' 'Convergent' 'Floor' 'Nearest' 'Round' 'Simplest'
Column 7
'Zero'
Examine the information for parameter IndexSearchMethod
.
ans =
IndexSearchMethod with properties:
Name: 'IndexSearchMethod'
Options: {'Linear search' 'Binary search' 'Evenly spaced points'}
Primary: 0
Value: {'Binary search' 'Evenly spaced points' 'Linear search'}
Examine the information for parameter UseLastBreakpoint
.
ans =
UseLastBreakpoint with properties:
Name: 'UseLastBreakpoint'
Options: {'off' 'on'}
Primary: 0
Value: {'off' 'on'}
Examine the information for parameter RemoveProtectionInput
.
ans =
RemoveProtectionInput with properties:
Name: 'RemoveProtectionInput'
Options: {'off' 'on'}
Primary: 0
Value: {'off' 'on'}