How can I select specific variables from a file in a Matlab GUI?

6 ビュー (過去 30 日間)
Edgar
Edgar 2014 年 5 月 14 日
回答済み: Walter Roberson 2014 年 5 月 14 日
First of all, thanks for read this. Well, I need to do a GUI GUIDE that reads an excel spreadsheet with n variables, it could be any excel spreadsheet (I can do this).
The next part (this is the part where I need help)is when the user wants to use any variables, for example, if the spreadsheet has 10 columns called a, b, c, d, e, f, g, h, i, j; the user can choose the number of variables and the name of them, that isn't fixed.
Example.
Type the number of variables you want to use: 3
Type the name of the variables you want to use: b, f, i.
Please advice me what can I do.
I hope I had been explicit with my question. Greetings.
  1 件のコメント
Sara
Sara 2014 年 5 月 14 日
Where does the typing happening? in an editbox? and what do you mean that the user wants a variable: does the user want to plot it, write it to file, ..?
Have you written any code at all?

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

回答 (1 件)

Walter Roberson
Walter Roberson 2014 年 5 月 14 日

カテゴリ

Help Center および File ExchangeData Import from MATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by