iswrite tests whether a directory or network share is writable.
Updated 12 Dec 2005

View License

ISWRITE tests whether the directory specified is writable by attempting to create a subdirectory. If the subdirectory can be created then the specified directory is writable and the subdirectory is deleted. ISWRITE differs from FILEATTRIB in that ISWRITE captures network and share level permissions where FILEATTRIB does not.

Cite As

Chris Cannell (2024). iswrite (, MATLAB Central File Exchange. Retrieved .

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

Inspired: BlockEdfHeatMapView

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes