Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: Français - Português - Русский - 日本語
Scilab Help >> Console > clc

clc

Clear Command Window

Syntax

clc([nblines])

Arguments

nblines

a double value

Description

clc() clears all input and output from the Console.

After using clc(), you cannot use the scroll bar to see the history of functions, but still can use the up arrow to recall statements from the command history.

clc(nblines) clears nblines above cursor current line and move cursor up to this line.

Note that clc([nblines]) cannot be used under Unix/Linux platforms when Scilab used in cli or adv-cli (no window) modes.

Examples

rand(10,10)
clc();
rand(10,10)
clc(5); // Delete the 5 previous lines

See Also

  • tohome — Move the cursor to the upper left corner of the Command Window
Scilab Enterprises
Copyright (c) 2011-2015 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Jun 15 08:27:54 CEST 2016