Can we creat editboxes in MATLAB GUI based on user input?

1 回表示 (過去 30 日間)
Arjun Jaitli
Arjun Jaitli 2014 年 1 月 28 日
コメント済み: matlabuser12 2014 年 5 月 8 日
I was wondering if there was a way to create additional edit boxes based on a user input. for example, I have a main GUI and it takes various inputs in edit boxes that I later use for mathematical calculations. Now, can the input to one of the edit boxes create additional edit boxes in the same gui? For example, if there is an editbox next to a static box that says "Number of Companies" and the user enters 5 in the edit box. Is there a way to read that and create 5 more edit boxes for the user to enter data for each company within the same GUI or I need to link this to a different GUI? Either way the number of edit boxes I want to create whether in the same GUI or different GUI have to based on the user input (in this case - 5). Is that possible? I hope my questions makes sense? I want my GUI to highly user-input dependent
  1 件のコメント
matlabuser12
matlabuser12 2014 年 5 月 8 日
Hey arjun, did you ever get this to work?

サインインしてコメントする。

回答 (1 件)

per isakson
per isakson 2014 年 1 月 28 日
編集済み: per isakson 2014 年 1 月 28 日
Yes! Start by reading About the Simple Programmatic GUI

カテゴリ

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