フィルターのクリア

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 Center および File ExchangeMigrate GUIDE Apps についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by