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


getversion

retorna o nome da versão do Scilab

Seqüência de Chamamento

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

Parâmetros

version

um string sobre a versão. Exemplo: "scilab-6.1.0"

version_numbers

um vetor de inteiros

version_numbers(1): versão maior

version_numbers(2): versão menor

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

version_numbers(4): timestamp GIT

options

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

Descrição

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

Exemplos

getversion()
[version, options] = getversion()
[COMPILER, ARCH, RELEASE_MODE, RELEASE_DATE, RELEASE_TIME] = (options(1), opt(2), options($-2), options($-1), options($))
or(options == 'modelicac')
or(options == 'tk')

numbers = getversion('scilab')
version = getversion('scilab','string_info')

Ver Também

Report an issue
<< getshell Configuration oldEmptyBehaviour >>

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:
Mon May 22 12:42:11 CEST 2023