MATLAB: How to store figures generated from matlab in database

datadatabasefigureMATLAB

Is it possible to get raw data of figure to store in database and again generate same exact figure using raw data stored in database? If yes how?
Thank you in advance

Best Answer

The simplest would be to save your figure as a .fig file and store the content of that file in your database (as a blob). Retrieve the file from the database and load it back into matlab to recreate the figure.
That's assuming the figure is not a GUI figure.
Related Question