how to import Excel columns as Array inputs to be processed using function in matlab GUI?

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 comentario

_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...

Iniciar sesión para comentar.

Respuestas (0)

Preguntada:

el 22 de Jun. de 2016

Comentada:

dpb
el 22 de Jun. de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by