fitpath

Gracefully truncate a file path to fit into uicontrols.
927 Downloads
Updated 11 Mar 2009

No License

This is a simple utility to gracefully fit a file path into a uicontrol by replacing some of the directory names with '...'.

It was primarily developed as a tutorial on how to use the extent property of uicontrols. The full tutorial can be found at our website.

Cite As

Erik Newton (2024). fitpath (https://www.mathworks.com/matlabcentral/fileexchange/13915-fitpath), MATLAB Central File Exchange. Retrieved .

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

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.1.0.0

Just updated tag list

1.0.0.0

Now with added command line help.