Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.2 - Português

Change language to:
English - Français - 日本語 -

Please note that the recommended version of Scilab is 2024.0.0. This page might be outdated.
See the recommended documentation of this function

Ajuda Scilab >> Scilab > getversion

getversion

retorna o nome da versão do Scilab

Seqüência de Chamamento

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')

Parâmetros

version

um string

versioninfo

um string sobre a versão

ver

um vetor de inteiros

ver(1): versão maior

ver(2): versão menor

ver(3): versão de manutençãp

ver(4): timestamp GIT

opts

um vetor de strings: [compiler, architecture, [pvm, tk, modelicac, atlas,] release_mode, release_date, release_time]

Descrição

Retorna em version o nome da versão do Scilab e em opts build options ("opções de construção") que podem ser usadas para determinar se o Scilab foi construído em pvm, tk ou modelicac.

Exemplos

getversion()

[version, opts] = getversion()
COMPILER = opts(1)
ARCH = opts(2)
or(opt == 'modelicac')
or(opt == 'pvm')
or(opt == 'tk')
or(opt == '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')

Ver Também

<< getvariablesonstack Scilab gstacksize >>

Copyright (c) 2022-2023 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Thu May 12 11:45:16 CEST 2011