Skip to content

compiler.internal.scanDependencies

compiler · scripts/+compiler/+internal/scanDependencies.m

: deps = scanDependencies (entryFiles)

Collect unique .m / MEX dependencies reachable from entryFiles.

Used by compiler.build.standaloneApplication. Traces simple function-call tokens in source text (same strategy as the legacy __mcc_dependencies__ helper) and returns a cell column of paths. Full recursive scanner coverage lives under nexus#1688 (mcc-003).