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 2023.1.0. This page might be outdated.
See the recommended documentation of this function

Ajuda Scilab >> Complementação > completion


returns words that start with the text you pass as parameter.

Calling Sequence

r = completion(beginning_of_a_word)
r = completion(beginning_of_a_word,dictionary)
[functions, commands, variables, macros, graphic_properties, files] = completion(beginning_of_a_word)
[functions, commands, variables, macros, graphic_properties] = completion(beginning_of_a_word)
[functions, commands, variables, macros] = completion(beginning_of_a_word)
[functions, commands, variables] = completion(beginning_of_a_word)
[functions, commands] = completion(beginning_of_a_word)



a string matrix


a string


a string ("functions", "commands", "variables", "macros", "graphic_properties", "files")

functions, commands, variables, macros, graphic_properties, files

a string matrix


returns words that start with the text you pass as parameter.

functions: a string matrix of functions name (C gateways). see 'what'.

commands: a string matrix of command words (reserved). see 'what'.

variables: a string matrix of variables names. see 'who'.

macros: a string matrix of macros names. see 'who'.

graphic_properties: a string matrix

files: a string matrix


r = completion('w')
r = completion('w','functions')
r = completion('w','commands')
r = completion('w','variables')
r = completion('w','macros')
r = completion('w','graphic_properties')
r = completion('w','files')

[functions,commands,variables,macros,graphic_properties,files] = completion('w')
[functions,commands,variables,macros,graphic_properties] = completion('w')
[functions,commands,variables,macros] = completion('w')
[functions,commands,variables] = completion('w')
[functions,commands] = completion('w')

See Also

  • getscilabkeywords — retorna uma lista com todas as palavras-chave do Scilab
  • who — listagem de variáveis
  • what — lista de primitivas do Scilab
  • libraryinfo — retorna macros e endereço de uma biblioteca Scilab
  • librarieslist — retorna as bibliotecas do Scilab
<< Complementação Complementação Gerenciador de histórico >>

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:28 CEST 2011