1
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
2
<!DOCTYPE MAN SYSTEM "../../manrev.dtd">
4
<LANGUAGE>eng</LANGUAGE>
5
<TITLE>mtlb_close</TITLE>
6
<TYPE>M2SCI function</TYPE>
9
<SHORT_DESCRIPTION name="mtlb_close">Matlab close emulation function</SHORT_DESCRIPTION>
13
<P>Scilab equivalent for Matlab <VERB>close</VERB> is different according to the current figure type (uicontrol or graphic one).</P>
20
When current figure is a uicontrol one: Scilab equivalent for Matlab <VERB>close</VERB> is <VERB>close</VERB>
26
When current figure is a graphic one: Scilab equivalent for Matlab <VERB>close</VERB>
27
is <VERB>xdel</VERB> or <VERB>delete</VERB>
33
In Scilab we do not get an error status.
41
The function <VERB>mtlb_close([h])</VERB> is used by
42
<VERB>mfile2sci</VERB> to replace <VERB>close([h])</VERB> when it was not
43
possible to know what were the inputs while porting Matlab code to Scilab. This function will
44
determine the correct semantic at run time. If you want to have a
45
more efficient code it is possible to replace <VERB>mtlb_close</VERB> calls:
53
If <VERB>h</VERB> is a uicontrol figure
54
<VERB>mtlb_close(h)</VERB> may be replaced by <VERB>close(h)</VERB>
60
If <VERB>h</VERB> is a graphic figure
61
<VERB>mtlb_close(h)</VERB> may be replaced by <VERB>delete(h)</VERB>
68
<P>Caution: <VERB>mtlb_close</VERB> has not to be used for hand coded functions.</P>
73
<SEE_ALSO_ITEM> <LINK>xdel</LINK> </SEE_ALSO_ITEM>
74
<SEE_ALSO_ITEM> <LINK>delete</LINK> </SEE_ALSO_ITEM>
75
<SEE_ALSO_ITEM> <LINK>winsid</LINK> </SEE_ALSO_ITEM>
76
<SEE_ALSO_ITEM> <LINK>close</LINK> </SEE_ALSO_ITEM>
80
<AUTHORS_ITEM>V.C.</AUTHORS_ITEM>