MATLAB: How to import excel data as separate column vectors

column vectorexcelimport excel dataseparate vectors

Hey guys,
can someone please tell me how to import excel data as separate column vectors? I know how to do it trough the interface but i need to use it in a script :/
Thank you for your help

Best Answer

The available functions inport Excel files as matrices (that are of course collections of column vectors) are readmatrix and xlsread. There are others such as readtable, however that imports them as table objects.