Borrar filtros
Borrar filtros

Creating Edit Box without using GUIDE

2 visualizaciones (últimos 30 días)
skyimager
skyimager el 1 de Jun. de 2012
I am trying to make certain plots using a script file. Now i want to display data also, the same way we do in GUI using guide. But here i am NOT using GUIDE. I want to create edit boxes using that script file only and then set certain data from my program into the edit boxes. Please tel me how can I do that.

Respuesta aceptada

per isakson
per isakson el 1 de Jun. de 2012
This is a start
fh = figure;
ebh = uicontrol( fh, 'Style', 'edit' )
next step is
doc uicontrol
.
Documentation says:
Uicontrol Properties Describe user interface control (uicontrol) propert
...
Position position rectangle
Size and location of uicontrol. The rectangle defined by this property specifies the size and location of the control within the parent figure window, uipanel, or uibuttongroup. Specify Position as [left bottom width height] left and bottom are the distance from the lower-left corner of the parent object to the lower-left corner of the uicontrol object. width and height are the dimensions of the uicontrol rectangle. All measurements are in units specified by the Units property.
  2 comentarios
skyimager
skyimager el 1 de Jun. de 2012
How to allocate a specific location of the edit box in the workspace. Using subplot we allocate the position of each axes What to do for edit boxes. Also how to write data in these edit boxes.
per isakson
per isakson el 1 de Jun. de 2012
You have to read the documentation yourself.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by