Docs @ Psychtoolbox Wiki : PsychtoolboxVersion

Search PTB Function help:
homepsychtoolbox.orgpage updateslogin

PsychtoolboxVersion

PsychtoolboxPsychBasic

OS X, Windows, Linux


[versionString, versionStructure]=PsychtoolboxVersion

Return a string identifying this release of the Psychtoolbox.
The first three numbers identify the base version of Psychtoolbox:

´ Leftmost: increments indicate a significant change in the feature
set, either through accumulated progress over time or abrupt introduction
of significant new features.

´ Middle: Even numbers designate a "stable" release. The objective for
even number releases is that the software should run stably, as opposed
to introduction of new features. An even number is not a guarantee of
stability, but an expression of intent. Odd numbers indicate a
"developer" release. Odd number releases are incomplete, the software is
made available for the purpose of public collaboration in development.

´ Rightmost: A counter to distinguish multiple releases having the same
leftmost and middle version numbers.

Numeric values of the three integer fields contained in versionString are
available in fields of the second return argument, "versionStructure".

The field 'Flavor' defines the subtype of Psychtoolbox being used:
* beta: An experimental release that is already tested by the developers,
but not yet sufficiently tested or proven in the field. Beta releases
contain lots of new and experimental features that may be useful to you
but that may change slightly in behaviour or syntax in the final release,
making it necessary for you to adapt your code after a software update.
Beta releases are known to be imperfect and fixing bugs in them is not a
high priority. The term 'current' is a synonym for 'beta'.

* stable: A release with the intention of being well-tested and reliable.
Fixing bugs found in stable releases has a high priority and syntax or
behaviour of features in a stable release is not likely to change. Code
written against a stable release should work after an update without the
need for you to modify anything.

The revision number and the provided URL allows you to visit the developer
website in the Internet and get direct access to all development logs
regarding your working copy of Psychtoolbox.

Be aware that execution of the PsychtoolboxVersion command can take a
lot of time (in the order of multiple seconds to 1 minute).

Most Psychtoolbox mex files now provide a built-in 'Version' command
which returns version for themselves. The version string for the
built-in version numbers contains a fourth numeric field named "build".
The build number is a unique serial number. Mex files distinquished only
by build numbers were compiled from identical C source files.

OS 9


versionNumber=PsychtoolboxVersion

Return a number identifying this release of the Psychtoolbox. Digits to
the left of the decimal point are the major version number. Digits to
the right of the decimal point are the minor version number.


see also: Screen('Version')




Path   Retrieve current version of PsychtoolboxVersion.m from berliOS: beta | view WebSVN changelog of trunk branch
Psychtoolbox/PsychBasic/PsychtoolboxVersion.m


Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.0826 seconds