How to read vector of strings into MATLAB?

I have an Excel file with a list of strings in the first column (one string per cell). How do I import the strings into a vector in MATLAB?

 Accepted Answer

[numbers, strings, everything] = xlsread(filename);

1 Comment

This is exactly what I was looking for. Thank you.

Sign in to comment.

More Answers (0)

Categories

Asked:

on 5 Dec 2014

Commented:

on 6 Dec 2014

Community Treasure Hunt

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

Start Hunting!