Reading text from an excel file and populating a matrix with those values.
Show older comments
I have read "http://www.mathworks.com.au/matlabcentral/answers/146754-xlsread-not-reading-text-only-excel-file" trying to figure out how to populate a matrix with those values.
So, so far I have:
[num,txt]=xlsread(filename,sheet_4)% Reads the numbers and text
network_station_coordinates = xlsread(filename,sheet_4,(num,txt))% populates the matrix with the prior
% matrix
This does not work.
Can someone please tell me what I need to do in-order to populate the num,txt values into the network_station_coordinates matrix?
Thanks.
Accepted Answer
More Answers (1)
Jay
on 30 Sep 2014
0 votes
Categories
Find more on Spreadsheets in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!