about summary refs log tree commit diff
path: root/sourcecodes/bnt-master/BNT/CPDs/@tabular_kernel/get_field.m
blob: 3319eadb07ddc8e6b1983582bfc8f92e04eef464 (plain)
1
2
3
4
5
6
7
8
9
10
11
function val = get_params_kernel(K, name)
% GET_PARAMS_KERNEL Accessor function for a field (tabular_kernel)
% val = get_params_kernel(K, name)
%
% e.g., get_params_kernel(K, 'table')

switch name
 case 'table', val = K.table;
 otherwise,
  error(['invalid field name ' name]);
end