필터 지우기
필터 지우기

Creating Edit Box without using GUIDE

조회 수: 2 (최근 30일)
skyimager
skyimager 2012년 6월 1일
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.

채택된 답변

per isakson
per isakson 2012년 6월 1일
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
skyimager
skyimager 2012년 6월 1일
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 2012년 6월 1일
You have to read the documentation yourself.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by