📄 createobj.m
字号:
function symtab = createobj(cc,sname,opt)
% CREATEOBJ Creates a link to an embedded symbol.
% O = CREATEOBJ(CC,SYMBOL) - returns an object handle O to the embedded symbol SYMBOL.
% SYMBOL can be any variable name. By default, the embedded variable within scope is created.
%
% O = CREATEOBJ(CC,SYMBOL,OPT) - returns an object handle O to the embedded symbol SYMBOL,
% the scope of which is specified by OPT. OPT can be 'local', 'global' or 'static'.
%
% Depending on the type and storage device of the symbol, object O created can be fall on any
% of four major object classes:
%
% I. MEMORYOBJ
% Any symbol that resides in the DSP memory.
%
% Derived Classes:
% 1. NUMERIC class - handle to a primitive datatype (float,int,short,...)
%
% Derived Classes:
% a. POINTER class - handle to a pointer datatype (unsigned int)
% b. ENUM class - handle to an enumerated datatype (int)
% c. STRING class - handle to a string datatype (char)
%
% 2. BITFIELD class - handle to a bitfield datatype
%
% II. REGISTEROBJ
% Any symbol that resides in a DSP register.
%
% Derived Class
% RNUMERIC class - handle to a primitive datatype (float,int,short,...)
%
% Derived Classes:
% a. RPOINTER class - handle to a pointer datatype (unsigned int)
% b. RENUM class - handle to an enumerated datatype (int)
% c. RSTRING class - handle to a string datatype (char)
%
% III.STRUCTURE
% Container class for MEMORYOBJ and/or REGISTEROBJ objects.
% - C struct type
% - C union type.
%
% See LIST.
% Copyright 2002 The MathWorks, Inc.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -