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

📄 read.m

📁 这是一个关于MATLAB的函数
💻 M
字号:
function resp = read(st,varargin)
% READ Read values stored in the location pointed to the STRUCTURE object ST.
% 
% 	O = READ(st) - reads the numeric values of each STRUCTURE member in ST. This returns a Matlab
%     structure having the member names as fields.
%     
% 	O = READ(st,val,member) - reads the numeric value of the STRUCTURE member specified by MEMBER.
%     
% 	O = READ(st,val,member,varargin) - reads the numeric value of the STRUCTURE member specified by MEMBER,
% 	where VARARGIN are extra READ options. See READ options of MEMBER.
% 
% 	O = READ(st,index,val,member) - reads the numeric value of the member of the STRUCTURE element INDEX.
%     
% 	O = READ(st,index,val,member,varargin) - reads the numeric value of the member of the STRUCTURE 
%     element INDEX, where VARARGIN are extra READ options. See READ options of MEMBER.
% 
%   Copyright 2002 The MathWorks, Inc.
%   $Revision: 1.5 $ $Date: 2002/03/29 22:50:10 $

if ~ishandle(st),
    error('First Parameter must be a STRUCTURE Handle.');
end
resp = read_structure(st,varargin);

% [EOF] read.m
 

⌨️ 快捷键说明

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