fitpath
Version 1.1.0.0 (1.81 KB) by
Erik Newton
Gracefully truncate a file path to fit into uicontrols.
928 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 (2026). 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 LinuxCategories
Find more on Search Path in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
