IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
copy_obj.m
Go to the documentation of this file.
1
%> @file
2
%>@ingroup misc
3
%>@brief Shallow copy of
object
.
4
function o2 =
copy_obj
(o)
5
pp = properties(o);
6
o2 = eval(class(o));
7
for i = 1:length(pp)
8
o2.(pp{i}) = o.(pp{i});
9
end;
copy_obj
function copy_obj(in o)
m
misc
misc
copy_obj.m
Generated on Tue May 19 2015 20:46:04 for IRootLab by
1.8.9.1