📄 write.m
字号:
function resp = write(st,varargin)
% WRITE Store a value to the location pointed to by a STRUCTURE object.
%
% WRITE(st,val,member) - writes the value VAL to the STRUCTURE member specified by MEMBER.
%
% WRITE(st,val,member,varargin) - writes the value VAL to the STRUCTURE member specified
% by member, where VARARGIN are extra WRITE options. See WRITE options of MEMBER.
%
% WRITE(st,index,val,member) - writes the value VAL to the STRUCTURE member of the STRUCTURE
% element INDEX.
%
% WRITE(st,index,val,member,varargin) - writes the value VAL to the STRUCTURE member of the STRUCTURE
% element INDEX, where VARARGIN are extra WRITE options. See WRITE options of MEMBER.
%
% Copyright 2002 The MathWorks, Inc.
% $Revision: 1.5 $ $Date: 2002/04/23 20:50:08 $
if ~ishandle(st),
error('First Parameter must be a STRUCTURE Handle.');
end
resp = write_structure(st,varargin);
% [EOF] read.m
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -