Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016

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

0 Comments

Niraj Rajput

2 Answers

Answer by Daniell Algar on 2 Feb 2013
doc imrwrite

0 Comments

Daniell Algar
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);

0 Comments

Image Analyst

Contact us