setDir
setDir

setDir

Get the directory of the file, add folders, save path. Different from pwd, which returns working directory. setDir finds the directory.

Download
Download

You are now following this Submission

Cite As

Aidan (2026). setDir (https://in.mathworks.com/matlabcentral/fileexchange/181201-setdir), MATLAB Central File Exchange. Retrieved .

Tags

Add Tags

Add the first tag.

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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

Download