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

New to MATLAB?

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

Asked by Niraj Rajput

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

Niraj Rajput

2 Answers

Answer by Daniell Algar

Daniell Algar

on 2 Feb 2013
doc imrwrite

0 Comments

Daniell Algar

Daniell Algar

Answer by Image Analyst

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

Image Analyst

Contact us