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

📄 copy_parameters.m

📁 基于Matlab的地震数据处理显示和测井数据显示于处理的小程序
💻 M
字号:
function structout=copy_parameters(structin,structout)% Function copies all parameters of a log structure, seismic structure, or table  % structure to another (parameter in a structure can be identified by an entry % in the 'parameter_info' field (cell array) of the structure); if a parameter % exists already in the output structure it will be overwritten.% Written by: E. R.: October 6, 2005% Last updated:%%            structout=copy_parameters(structin,structout)% INPUT% structin   structure from which the parameters are to be copied% structout  structure to which the parameters are to be copied% OUTPUT% structout  structure to which the parameters are to be copiedif ~isstruct(structin)   error(' First input data set must be a structure')endif ~isfield(structin,'parameter_info')   returnendparams=structin.parameter_info(:,1);for ii=1:length(params)   structout=add_parameter(structout,getfield(structin,params{ii}), ...                           structin.parameter_info(ii,:));end

⌨️ 快捷键说明

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