Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.1.0 - Français

Change language to:
English - 日本語 - Português - Русский

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

Aide de Scilab >> Sorties > disp

disp

displays variables

Syntax

disp(x1,[x2,...xn])

Description

displays xi with the current format. xi's are arbitrary objects (matrices of constants, strings, functions, lists, ...)

Display of objects defined by tlist may be overloaded by the definition of a function. This function must have no output argument a single input argument ant it's name is formed as follow %<tlist_type>_p where %<tlist_type> stands for the first entry of the tlist type component.

The lines function may be used to control the output.

Examples

disp([1 2],3)
disp("a",1,"c")
deff('[]=%t_p(l)','disp(l(3),l(2))')
disp(tlist('t',1,2))

See also

  • lines — sets and queries the display width and pagination for the console
  • write — write in a formatted file
  • read — matrices read
  • print — prints variables in a file
  • string — conversion en chaîne de caractères
  • tlist — Objet Scilab. Définition d'une liste typée
Report an issue
<< Sorties Sorties mprintf >>

Copyright (c) 2022-2024 (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:
Tue Feb 25 08:50:27 CET 2020