Составьте заменяющую таблицу кода.
Создайте запись таблицы для функции.
Идентифицируйте запись таблицы как запись для функции prelookup.
Получите настройки параметра алгоритма для записи таблицы функции prelookup.
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]Исследуйте информацию на параметр ExtrapMethod.
ans =
ExtrapMethod with properties:
Name: 'ExtrapMethod'
Options: {'Linear' 'Clip'}
Primary: 1
Value: {'Linear'}Исследуйте информацию на параметр RndMeth.
ans =
RndMeth with properties:
Name: 'RndMeth'
Options: {1x7 cell}
Primary: 0
Value: {1x7 cell}Исследуйте текущую установку Value.
ans =
Columns 1 through 6
'Ceiling' 'Convergent' 'Floor' 'Nearest' 'Round' 'Simplest'
Column 7
'Zero'Исследуйте информацию на параметр 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'}Исследуйте информацию на параметр UseLastBreakpoint.
ans =
UseLastBreakpoint with properties:
Name: 'UseLastBreakpoint'
Options: {'off' 'on'}
Primary: 0
Value: {'off' 'on'}Исследуйте информацию на параметр RemoveProtectionInput.
ans =
RemoveProtectionInput with properties:
Name: 'RemoveProtectionInput'
Options: {'off' 'on'}
Primary: 0
Value: {'off' 'on'}