How can I call csv file from script using GUI

Dear all,
Can anybody help me in reading a list of value from CSV file using GUI-GUIDE.
I have a two column having list of values. If i select a row, it should display the values in row-wise.
Kindly respond.

 Accepted Answer

Did you try something like
data = csvread(fullFileName);
?? Then, how do you want to display it? Did you put a table control on the GUI? If so try something like this:
set(handles.table1, 'Data', data');

More Answers (0)

Categories

Find more on Programming 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!