image thumbnail

Find 'orphaned' m-files

version (1008 Bytes) by Dimitri Shvorob
(in a directory tree)


Updated 04 Apr 2016

View License

Function ORPHANS searches a directory tree for m-files whose names are not found in other m-files. (Crudeness of this approach as a way of tracking file dependencies is acknowledged).
This is a revision featuring improvements contributed by Ryan Hamilton. (Thanks, Ryan!)

Cite As

Dimitri Shvorob (2022). Find 'orphaned' m-files (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired by: mgrep, Recursive directory listing

Inspired: orphan_libs(test, trgt)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!