Scilab 5.5.0
- Scilab Help
- GUI
- Borders
- Layouts
- uitree
- about
- addmenu
- clipboard
- close
- Console properties
- createWindow
- delmenu
- exportUI
- figure
- findobj
- gcbo
- getcallbackobject
- getinstalledlookandfeels
- getlookandfeel
- getvalue
- Interactive Editor
- loadGui
- messagebox
- printfigure
- printsetupbox
- progressionbar
- root_properties
- saveGui
- setlookandfeel
- setmenu
- toolbar
- toprint
- tree_show
- uicontextmenu
- uicontrol
- uicontrol properties
- uigetcolor
- uigetdir
- uigetfile
- uigetfont
- uimenu
- uimenu properties
- uiputfile
- unsetmenu
- 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
findobj
find an object with specified property
Calling Sequence
h = findobj(propertyName, propertyValue)
Arguments
- propertyName
string character Name of the property to test (case unsensitive).
- propertyValue
string character specify the value the tested propoerty should be equal to (case sensitive).
- h
handle of the found object.
Description
This routine is currently used to find objects knowing their 'tag' property. It returns handle of the first found object which property propertyName is equal to propertyValue. If such an object does not exist, the function returns an empty matrix.
Examples
// Create a figure h=figure(); // Put a text in the figure uicontrol(h, "style","text", ... "string","This is a figure", ... "position",[50 70 100 100], ... "fontsize",15, ... "tag","Alabel"); // Find the object which "tag" value is "Alabel" lab=findobj("tag","Alabel"); disp("The text of the label is """+lab.string+""""); // Close the figure close();
See Also
Report an issue | ||
<< figure | GUI | gcbo >> |