- Scilab Online Help
- Scilab
- Scilab keywords
- TMPDIR
- abort
- add_demo
- argn
- banner
- boolean
- break
- clear
- clearfun
- clearglobal
- comp
- continue
- debug
- delbpt
- dispbpt
- edit
- errcatch
- errclear
- error
- error_table
- exists
- exit
- external
- extraction
- format
- funcprot
- funptr
- getdebuginfo
- getmd5
- getmemory
- getmodules
- getos
- getscilabmode
- getshell
- getvariablesonstack
- getversion
- gstacksize
- ieee
- insertion
- intppty
- inv_coeff
- iserror
- isglobal
- lasterror
- macr2lst
- macr2tree
- matrices
- matrix
- mode
- mtlb_mode
- names
- newfun
- null
- pause
- perl
- poly
- predef
- quit
- rational
- readgateway
- resume
- sciargs
- scilab
- setbpt
- stacksize
- startup
- symbols
- testmatrix
- type
- typename
- user
- varn
- ver
- warning
- what
- where
- whereami
- who
- who_user
- whos
- with_atlas
- with_javasci
- with_macros_source
- with_module
- with_pvm
- with_texmacs
- with_tk
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
getversion
get scilab and modules version information
Calling Sequence
version = getversion() [version, opts] = getversion() version_numbers = getversion('scilab') versioninfo = getversion('scilab', 'string_info') version_numbers = getversion('<module>') versioninfo = getversion('<module>','string_info')
Arguments
- version
a string
- versioninfo
a string about version
- version_numbers
a integer vector
ver(1) Major version
ver(2) Minor version
ver(3) Maintenance version
ver(4) GIT timestamp
- opts
a vector of string :
[compiler, architecture,[ pvm, tk, modelicac, atlas,] 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 , atlas or modelicac and give release date and time.
[ pvm, tk, modelicac, atlas,] are optional.
compiler: returns compiler used to build scilab ('GCC', 'VC++', 'PGI', 'ICC', 'SUN', 'UKN' unknown)
archicteture: 'x86' or 'x64'.
pvm: 'pvm' if pvm is enabled.
tk: 'tk' if tcl/tk is enabled.
modelicac: 'modelicac' if modelica compiler is ditributed with scilab/xcos.
atlas: 'atlas' if scilab was built with atlas (or MKL).
Examples
getversion() [version, opts] = getversion() COMPILER = opts(1) ARCH = opts(2) or(opts == 'modelicac') or(opts == 'pvm') or(opts == 'tk') or(opts == 'atlas') RELEASE_MODE = opts($-2) RELEASE_DATE = opts($-1) RELEASE_TIME = opts($) version = getversion('scilab') versionstr = getversion('scilab','string_info') version = getversion('overloading') versionstr = getversion('overloading','string_info')
See Also
<< getvariablesonstack | Scilab | gstacksize >> |