fitpath
Version 1.1.0.0 (1.81 KB) by
Erik Newton
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 LinuxCategories
- MATLAB > Programming > Files and Folders > Search Path >
- MATLAB > App Building > Migrate GUIDE Apps >
Find more on Search Path in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.