Uilabel()
The first syntax does not need any parameters. It is created with “Label” as the default text. Matlab creates a figure window and stores the label into the window for us.
Example:
Matlab
% MATLAB code for Uilabel() demonstration. % create a uilabel using only the function label = uilabel; |
Output:
Label component in MATLAB GUI
Matlab is a numeric computing environment that comes with its own programming language. It specializes in technical computing in areas like Science, Engineering, and many others. Matlab also provides the ability to create GUI applications by simply using its functions for various GUI components.
In this article, we will learn about the Label component, how to create one, and its important properties.