Fishing out figures used by LaTeX document

How to copy all figures used by the master LaTeX document to a separate folder.

You are now following this Submission

If you are working on a big LaTeX document (e.g. a handbook) and your folder containing figures is getting messier and messier, this m-script may help you. A minimal working example (MWE) is included.

Cite As

Bartlomiej Ufnalski (2026). Fishing out figures used by LaTeX document (https://www.mathworks.com/matlabcentral/fileexchange/52683-fishing-out-figures-used-by-latex-document), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Software Development in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0