Save data plot in GUI into a file, and may open it back?

I got problem to save data in GUI. How to solve it? My project is about plot a graph, then I want it save in some file, so that next time I may open it back.

 Accepted Answer

h=plot(x,y)
hgsave(h,'your_figure')
To open your_figure
hgload('your_figure')

More Answers (0)

Categories

Find more on Get Started with MATLAB 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!