⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 address.m

📁 一个MATLAB的应用程序
💻 M
字号:
function addr=address(cc,symname)
%ADDRESS returns the address value for specified a target symbol
%  A = ADDRESS(CC,SYM) Returns the address of SYM, which is a string 
%  representation of the desired symbol.  If the specified symbol is not 
%  found, a warning is generated and A is empty.  Note, this method 
%  returns only the first occurance of the specified symbol (SYM) from 
%  the symbol table.  This method is only applicable after loading the 
%  desired program file.  The return value A is a 2 element numeric 
%  array with the symbols offset and page.  This return value can be 
%  used directly as an input to the address field of CC.READ and 
%  CC.WRITE. 
%
%  Return value:
%  A(1) - Address offset
%  A(2) - Page
%
%  For example:
%  >cc.read(cc.address('coef'),5,'int32')
%  returns the first 5 members of a target's array called 'coef'.
%
%  See also DEC2HEX, LOAD, SYMBOL.

% Copyright 2002 The MathWorks, Inc.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -