getversion
get scilab and modules version information
Syntax
[version, options] = getversion() [COMPILER, ARCH, RELEASE_MODE, RELEASE_DATE, RELEASE_TIME] = (options(1), opt(2), options($-2), options($-1), options($)) version_numbers = getversion('scilab') version_numbers = getversion('<module>') version = getversion('<module>','string_info')
Arguments
- version
a string about version. Example: "scilab-6.1.0"
- version_numbers
an integer vector
version_numbers(1) Major version
version_numbers(2) Minor version
version_numbers(3) Maintenance version
version_numbers(4) GIT timestamp
- options
a vector of string:
[compiler, architecture,[tk, modelicac, ] release_mode, release_date, release_time]
Description
[version, options] = getversion()
returns in version
the Scilab version name and in
options
build options which can be used to determine if
scilab has been build with tk or modelicac and gives release date and time.
[tk, modelicac, atlas,] are optional.
compiler: returns compiler used to build scilab ('GCC', 'VC++', 'PGI', 'ICC', 'SUN', 'UKN' unknown)
architecture: 'x86' or 'x64'.
tk: 'tk' if tcl/tk is enabled.
modelicac: 'modelicac' if modelica compiler is distributed with scilab/xcos.
Examples
See also
- getmodules — lists modules installed in Scilab
Report an issue | ||
<< getshell | Configuration | oldEmptyBehaviour >> |