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

Change language to:
English - Français - 日本語 - Русский

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

Ajuda do Scilab >> Console > tohome

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:
Tue Feb 25 08:52:43 CET 2020