1
.TH "findobj" 2 " 04 June 1998" "Fractales Group" "Scilab Function"
4
findobj - find an object with specified property
11
prop : string character
12
Name of the property to test.
15
value : string character
16
specify the value the tested propoerty should be equal to.
18
h : handle of the found object.
20
This routine is currentlyt used to find objects knowing their 'tag'
21
property. It returns handle of the first found object which property
22
'prop' is equal to 'value'. If such an object does not exist, the
23
function returns a void matrix.
27
// creates figure number 1.
28
uicontrol( h, 'style','text', ...
29
'string','This is a figure', ...
30
'position',[50 70 100 100], ...
33
// put a text in figure 1
34
lab=findobj('tag','Alabel');
35
// find the object which 'tag' value is 'Alabel'
36
disp('the handle of the label is '+string(lab));
40
uicontrol, uimenu, set, get