Editbox not showing output

2 ビュー (過去 30 日間)
Nitesh
Nitesh 2014 年 4 月 20 日
回答済み: Image Analyst 2014 年 4 月 20 日
I tried using following command but editbox is not showing any output.
op = char(g)'
set(edit6,'visible','on','string',op,'position',[1055 100 200 100],'horizontalalignment','left');

回答 (2 件)

Walter Roberson
Walter Roberson 2014 年 4 月 20 日
Have you set 'max' to more than 1 ?

Image Analyst
Image Analyst 2014 年 4 月 20 日
Is there any error message? How did you create the edit box: with GUIDE, or by yourself with uicontrol()? If using GUIDE, use handles.edit6 instead of edit6.
What is the 'units' property of your control? Is it pixels? It probably better be or else putting the left edge at 1055 will be off screen for most of the other options, like 'normalized'.

カテゴリ

Help Center および File ExchangeDesktop についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by