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


tohome

Clears the command window by masking its former content above the top

Syntax

tohome

Description

tohome sets the commands prompt to the top of the command window, followed by an empty space down to the bottom of the console.

Unlike clc that erases all preexisting execution results, tohome keeps but rejects them above the visible area of the console, and therefore masks them. It is still possible to see former results by dragging the vertical scroll bar available in the right margin of the console.

On MS Windows, tohome can only be used when Scilab is launched in standard windowed mode (getscilabmode()=="STD").

Examples

rand(10,10)
tohome();

See also

  • clc — Clear Command Window
Report an issue
<< prompt Console Gerenciador de histórico >>

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:
Mon Jun 17 17:53:29 CEST 2024