tsdev / spinw

SpinW Matlab library for spin wave calculation
www.psi.ch/spinw
GNU General Public License v3.0
30 stars 35 forks source link

FEATURE REQUEST: Version Information #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Create a function which returns version information

function varargout = sw_version()

build = 'SpinW release 2.0beta';
name = 'SpinW';
version = 2.0;
build_data = '01.01.2013';
contact = 'tothsa@gmail.com';
licence = 'Needs to be filled in....'

if nargout ~= 1
disp(build)
else
varargout{1}.name = name;
varargout{1}.version = version;
varargout{1}.build_data = build_date;
varargout{1}.contact = contact;
varargout{1}.licence = licence;
end

Original issue reported on code.google.com by Substanc...@gmail.com on 14 Oct 2013 at 9:19

GoogleCodeExporter commented 9 years ago

Original comment by tot...@gmail.com on 3 Dec 2013 at 7:36