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

2 views (last 30 days)
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.
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 Comment
Sara on 14 May 2014
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?

Sign in to comment.

Answers (1)

Walter Roberson
Walter Roberson on 14 May 2014

Community Treasure Hunt

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

Start Hunting!

Translated by