Matlab is one of research toolbox,It contain large amount of Tools.Some times you want to save the figure file at that situation it mainly helpful.Matlab different way to save the figures.We give one of the option to save the figure in run time.We use saveas function for save the figure window.This way most helpful for save the figure.Please use following operation for save the figures in matlab.
- In figure window must use the handle object.ex (h1 = figure;plot(x,y));
- Then this handle object save in your work space using saveas function.
This saveas function contain three major Parameters.
- Handle object
- Name of the fileName
- Final parameter is Filename type, like(Jpeg,Png,Tiff);
Syntax as follows
saveas(handle,'filename','filetype')
Example code and output as follows
No comments:
Post a Comment