📄 aft_copyobject.m
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -