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 (view profile)

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 (view profile)

2 Answers

Answer by Daniell Algar

Daniell Algar (view profile)

on 2 Feb 2013
doc imrwrite

0 Comments

Daniell Algar

Daniell Algar (view profile)

Answer by Image Analyst

Image Analyst (view profile)

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 (view profile)

Contact us