subsasgn.m
来自「计算动力学系统的分岔图」· M 代码 · 共 17 行
M
17 行
function a = subsasgn(a,s,b)% Subscripted reference for ADTAYL objects.% The only ones allowed are of form A(I) and A(I,J).%% This should allow ':' as a subscript but doesn't, yet.switch s.type case '()' if ~isa(b,'adtayl') error('Incompatible left & right sides for assignment') else % Pass indices to TC field, with : appended. a.tc(s.subs{:},:) = b.tc; end otherwise error('Wrong kind of subscripting for ADTAYL object')end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?