how to export figure data into a .mat file
Show older comments
X=[0:.1:10];
Y=rand(length(X));
plot(X,Y)
is there a way to add a menu item to the figure window to save data (X,Y) into a file (have the user specify file name and location when they click on this menu item)
Accepted Answer
More Answers (1)
Categories
Find more on Interactive Control and Callbacks 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!