how to import Excel columns as Array inputs to be processed using function in matlab GUI?
Mostra commenti meno recenti
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 Commento
dpb
il 22 Giu 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...
Risposte (0)
Categorie
Scopri di più su Spreadsheets in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!