📄 get.m
字号:
function out = get(model,prop_name)%BILIN/GET Property access method for BILIN object.%% CUED System Identification Toolbox.% Cambridge University Engineering Department.% Copyright (C) 1998-2002. All Rights Reserved.% Version 1.00, Date: 01/06/2002% Created by H. Chen and E.C. Kerrigan.if nargin < 2 out.A = []; out.B = []; out.C = []; out.D = []; out.N = []; out.X0 = 0*ones(0,1); out.Ts = 1;else switch upper(prop_name) case 'A' out = model.A; case 'B' out = model.B; case 'C' out = model.C; case 'D' out = model.D; case 'N' out = model.N; case {'X0','X'} out = model.X0; case {'TS','T'} out = model.Ts; otherwise error(['''', prop_name, '''', ' is not a valid BILIN property.']) endend% *** last line of get.m ***
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -