📄 subsasgn.m
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -