Clear Filters
Clear Filters

How can i convert excel file into array form in MATLAB

14 views (last 30 days)
Excel file consist of many data and i want to use array in MATLAB.

Accepted Answer

KSSV
KSSV on 26 Sep 2017
You need to read the excel file data into MATLAB first. This can be achieved with Xlsread. Read the documentation of xlsread.
  2 Comments
Nadiah Zainudin
Nadiah Zainudin on 26 Sep 2017
Okay and after reading the file, how do i input the array into the program?
KSSV
KSSV on 26 Sep 2017
[num,txt,raw] = xlsread(filename) ;
num is the data of numbers you had in excel...you can do what ever you want with that.

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!