CSVWRITE from listbox
Show older comments
I am attempting to write to a CSV file from a listbox in which I have several varable displayed in. I need to write a csv file that is entitled with the name of the variable. in other words I have for example "variable_one" in the list box and I need to create a csv file that is entitled "variable_one"
so far I have used
a = get(handles.listbox2,'string')
csvwrite(a(1), "the matrix with te same filename") I am just starting out in matlab programming after having spent a few years in college making plots with it and writing basic script files.
Thank you
Accepted Answer
More Answers (1)
Categories
Find more on Workspace Variables and MAT Files 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!