aft_copyobject.m
来自「toolbox of BVQX, This is the access betw」· M 代码 · 共 35 行
M
35 行
function hfile2 = aft_CopyObject(hfile)
% AFT::CopyObject - copy object to new
%
% FORMAT: copied = obj.CopyObject;
%
% No input fields
%
% Output fields:
%
% copied BVQXfile object with own storage in bvqxcont
% Version: v0.7b
% Build: 7082922
% Date: Aug-29 2007, 10:36 PM CEST
% Author: Jochen Weber, Brain Innovation, B.V., Maastricht, NL
% URL/Info: http://wiki.brainvoyager.com/BVQXtools
% check arguments
if nargin < 1 || ...
numel(hfile) ~= 1 || ...
~isBVQXfile(hfile, true)
error( ...
'BVQXfile:BadArguments', ...
'Invalid call to %s.', ...
mfilename ...
);
end
% create same type of object
try
hfile2 = BVQXfile(0, 'copyobject', hfile.L);
catch
rethrow(lasterror);
end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?