function val = get(p,prop_name) % nfPredatorPrayModel/get Get nfLinFunction properties from the specified object % and return the value % % Nonlinear Filtering Toolbox version 2.0rc1 % Copyright (c) 1995 - 2006 NFT developement Team, % Department of Cybernetics, % University of West Bohemia in Pilsen switch prop_name case 'u' if p.nu == 0 val = {}; else val = {'input'}; end case 'x' if p.nx == 0 val = {}; else val = {'state'}; end case 'xi' if p.nxi == 0 val = {}; else val = {'noise'}; end otherwise val = get(p.nfFunction,prop_name); end % CHANGELOG