?? cdv.m
字號:
function c = cdv(varargin)% CDV - Constructor for the class cdv, a sub class of the gen class.% The constructor is called as follows:%% cdv('name',low_limit,high_limit,bits) % 'name' - the name that identify the variable% low_limit - the lower limit for the variable% high_limit - the upper limit for the variable% bits - the number of bits used to code the variable%% if the constructor is called without any arguments it returns an% empty variable.% % See also CHROM,DDV,UI_GEN,UI_CHROMswitch nargin case 0 c=struct('l_limit',0,'u_limit',0); c = class(c,'cdv',gen); case 1 if isa(v,'cdv') c=varargin{1}; else error('wrong argument') end case 4 c=struct('l_limit',varargin{2},'u_limit',varargin{3}); c=class(c,'cdv',gen(varargin{1},varargin{4})); otherwise error('Wrong number of arguments')end
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -