Determine the directory from where the application is launched.
Updated 13 Jul 2017

View License

Determines the full path from where the application is launched. When the application is run from sources, this function behaves the same as the Matlab's pwd function.

Cite As

Elias Gule (2024). appdir() (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Search Path in Help Center and MATLAB Answers
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes