Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.1.1 - 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 >> Code Matlab => Scilab > Matlab-Scilab equivalents > C > close (Matlab function)

close (Matlab function)

Delete specified figure

Matlab/Scilab equivalent

Matlab Scilab

Particular cases

close

If current figure is a uicontrol one, Scilab and Matlab close are equivalent. But if current figure is a graphic window, Scilab equivalent for Matlab close is delete(gcf()).

close(h)

If h is a uicontrol figure, Scilab and Matlab close(h) are equivalent. But if h is a graphic window, Scilab equivalent for Matlab close(h) is delete(h).

close('all')

Scilab equivalent for Matlab close('all') is close(winsid()).

close(name)

There is no Scilab equivalent for Matlab close(name) however, mtlb_close can be an equivalent.

close('all','hidden')

Scilab equivalent for Matlab close('all','hidden') is close(winsid()) but Scilab kills all figures even if they are hidden.

Report an issue
<< clock (Matlab function) C closereq (Matlab function) >>

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 Jan 03 14:35:42 CET 2022