MATLAB Answers

Niraj Rajput

how to get processed image at another location than MATLAB figure window

Asked by Niraj Rajput
on 2 Feb 2013

I want to store a processed image at another location(hard drive)rather than displaying on MATLAB figure window


2 Answers

Answer by Daniell Algar
on 2 Feb 2013
doc imrwrite


Answer by Image Analyst
on 2 Feb 2013

Use fullfile() to create your fullfilename:

fullFileName = fullfile(yourDesiredFolder, yourBaseImageFileName);

Then use imwrite() to write it out:

imwrite(yourImageArray, fullFileName);


Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply today