Name

getversion — get scilab and modules version information

Calling Sequence

version=getversion()
[version,opts]=getversion()
ver=getversion('scilab')
versioninfo=getversion('scilab','string_info')
ver=getversion('<module>')
versioninfo=getversion('<module>','string_info')

Parameters

version

a string

versioninfo

a string about version

ver

a integer vector

ver(1) Major version

ver(2) Minor version

ver(3) Maintenance version

ver(4) GIT timestamp

opts

a vector of string with seven entries :[compiler, pvm, tk, modelicac, release_mode, release_date, release_time]

Description

return in version the Scilab version name and in opts build options which can be used to determine if scilab has been build with pvm, tk or modelicac and give release date and time.

Examples

 
getversion()
[version,opts]=getversion()
ver=getversion('scilab')
verstr=getversion('scilab','string_info')
ver=getversion('overloading')
verstr=getversion('overloading','string_info')
 

See Also

getmodules