/ concept-collection / seqlab
Sign in
concept-collection / seqlab
seqlab / src / engine / pulseq / +mr / +aux / version.m
19 lines · 757 BBlameHistoryRaw
1function [version_major, version_minor, version_revision, version_combined]=version(type)
2%version: return the relevant version information. The type of the version
3% information is defined by the (optional) parameter.
4% Possible version types:
5% 'pulseq' : (default) verson of the current Matlab package
6% 'output' : version of the file written by the seq.write() function
7
8if nargin==0 || strcmp(type,'pulseq')
9 version_major=1;
10 version_minor=5;
11 version_revision=2;
12elseif strcmp(type,'output')
13 version_major=1;
14 version_minor=5;
15 version_revision=1;
16else
17 error('Unsupported version request, type=%s',type);
18end
19version_combined=1000000*version_major+1000*version_minor+version_revision;
moveopenescclose