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

📄 write.m

📁 这是一个关于MATLAB的函数
💻 M
字号:
function resp = write(bb,index,data)
%   Copyright 2002 The MathWorks, Inc.

error(nargchk(2,3,nargin));
if ~ishandle(bb),
    error('First Parameter must be a BITFIELD Handle.');
end
if nargin==2,   
    data = index;
elseif nargin==3 & isempty(index)
    index = 1;
end

if iscellstr(data) | ischar(data),
    if nargin==2,   write_bitfieldhex(bb,data);
    else            write_bitfieldhex(bb,index,data);
    end
elseif isnumeric(data),
    if nargin==2,   write_bitfield(bb,data);
    else            write_bitfield(bb,index,data);
    end
else
    error('DATA must be a numeric array or a hexadecimal string (cell array) ');
end

% [EOF] write.m

⌨️ 快捷键说明

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