how to import Excel columns as Array inputs to be processed using function in matlab GUI?
1 view (last 30 days)
Show older comments
Hi All I have 17 columns which is the number of inputs, I want the user to load the excel file so the matlab Gui read those columns as Array of inputs for the 17 inputs so I can use them in my function and produce the results or save the result into an excel sheet.
i used uigetfile to load it, then used xlsread to save them as follow datafile1 = uigetfile; Min= xlsread(datafile1);
so am supposed to save them in array of Min right?
1 Comment
dpb
on 22 Jun 2016
_Min_ will hold the numeric data from the spreadsheet file, yes.
So now "do whatever" need to do with the array.
While it doesn't actually clash with the builtin min function, I'd not that Min isn't a terribly expressive variable name for an array it would seem and is notably close save for punctuation to the builtin function name. Might want to consider an alternate array name...
Answers (0)
See Also
Categories
Find more on Data Import from MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!