- Scilab Help
- GUI
- Borders
- Layouts
- Menus
- uitree
- about
- clipboard
- close
- Console properties
- createWindow
- exportUI
- figure
- findobj
- gcbo
- getcallbackobject
- getinstalledlookandfeels
- getlookandfeel
- getvalue
- Interactive Editor
- loadGui
- messagebox
- printfigure
- printsetupbox
- progressionbar
- root_properties
- saveGui
- setlookandfeel
- toolbar
- toprint
- uicontrol
- uicontrol properties
- uigetdir
- uigetfile
- uigetfont
- uiputfile
- usecanvas
- waitbar
- x_choices
- x_choose
- x_choose_modeless
- x_dialog
- x_matrix
- x_mdialog
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
close
Closes graphic figures, progression or wait bars, the help browser, xcos, the variables browser or editor.
Syntax
close close(H) close help close xcos close xcos! close editvar close browsevar
Arguments
- H
Vector of graphic figures handles or ids, or of handles of progression bar or wait bar.
Description
close closes the current graphic figure (if any).
close(H) closes the figures, waitbar or
progression bars whose handles or indices are in H
.
close help closes the help browser.
close browsevar closes the variable browser.
close editvar closes the variable editor (it must not be docked).
close xcos closes all opened xcos windows. If some diagrams have unsaved changes, the user is asked for confirmation.
close xcos! forces closing all opened xcos windows without asking for any confirmation.
Examples
// creates figure number 1. h = scf(); // put a clever text in figure 1 uicontrol( h, 'style','text', ... 'string','scilab is great', ... 'position',[50 70 100 100], ... 'fontsize',15); // create figure 2 scf(); // put a text in figure 2 uicontrol( 'style','text', ... 'string','Really great', 'position',[50 70 100 100], 'fontsize',15); close(); // close the current graphic window (ie fig. 2) close(h); // close figure 1 // create a progression bar wid1=progressionbar("Message"); // close it close(wid1); // Create and close several figures in a once: scf(111); plot scf(25); plot2d gcf().figure_position(1) = 500; scf(200); param3d gcf().figure_position(1) = 700; sleep(5000); // Watch at them! close([25 200 111]) // Finished!
// You are reading this example in the help browser. Now, bye: close help
See also
History
Version | Description |
6.1.1 |
|
Report an issue | ||
<< clipboard | GUI | Console properties >> |