CLS

<< Click to Display Table of Contents >>

Navigation:  Gekko User Manual > Gekko statements >

CLS

Previous pageReturn to chapter overviewNext page

CLS clears the output window (CLS means 'clear screen').

 


 

Syntax

 

cls;

 


 

Example

 

The RESET or RESTART statement will not clear the output window (but clears everything else in the workspace), so you may use CLS before your RESTART statement or whenever you prefer to get a fresh output window.

 

cls; cut; restart;

 

This clears the output window, closes any plot/decomp or other windows, and restarts Gekko.

 


 

Related statements

 

CLEAR, CLOSE, CLOSEALL, CUT, RESET, RESTART