GUI array

4 ビュー (過去 30 日間)
Akshar
Akshar 2012 年 3 月 30 日
回答済み: Matlab Pro 2025 年 7 月 24 日
how do i accept an array of data through the edit text box in GUI

回答 (1 件)

Matlab Pro
Matlab Pro 2025 年 7 月 24 日
  • Are you using GUIDE or AppDesigner to create your GUI?
  • The answer depends on dimentions of your array:
  • If it is 1D and short - you can simply write it to the textBox control
  • If it is big (or 2D or more) - than this is not the way to deal with it: instead : lets the user load a file (CSV/MAT /Text/XML) that contains the data and then parse it.
If you need a concice example: please feedback :-)

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by