Code: https://pastebin.com/6MWsmaJF

Essentially, I've created a function in Matlab which spits out around 200 images.

How do I save all of these images in one go?

1 Answer 1


Easiest way is to download a function from the file exchange, here are some you can try and maybe quickly modify if necessary

.eps format (should be adjustable to png)

all figures in 1 .mat file

all current plots as, .emf, .fig, .png or eps

good luck and let me know if you need help

  • @JeremyFeng if this helps you, please upvote it. If it solves your problem, please accept it. If you're having trouble and need help, please respond and ask. Jun 7, 2018 at 15:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.