📄 suoffset.m
字号:
function newaddr = suoffset(mm,offset)
% Private. Add an offset to the location (address or register)
% Note: Does not apply to registers.
% Copyright 2002 The MathWorks, Inc.
% $Revision: 1.2 $ $Date: 2002/04/02 21:28:45 $
if ~isnumeric(offset),
error('Address offset must be a numeric value');
end
% offsets = round(double(reshape(offset,[prod(size(offset)) 1])));
% newaddr = [mm.address(1)+double(offsets) ones(prod(size(offset)),1)*mm.address(2)];
%
% if any(any((newaddr < 0 | newaddr > mm.maxaddress))),
% error('Exceeded absolute limits of address space');
% end
%[EOF] suoffset.m
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -