HELPFIG - a simple GUI for displaying (long) texts
Consider you've written a nice GUI and want to add an option to show some text quick and easy in a separate window. That text might be a little bit longer, such that the user should be able to scroll within that window, but opening Matlab's helpbrowser for that just takes too much time, that window is just too big and cannot be closed again via esc key. This is where this small function might help. It only has basic capabilities, but yet allows to select text and copy it to clipboard, opens and closes very fast, is simple to use, is written using standard Matlab commands only and can be integrated in other functions.
My reason for writing it was to have a simple solution for displaying some help text (e.g. a list of keyboard shortcuts) called from within a GUI and also for displaying the content of log files in separate windows.
Cite As
Matthias Schwaiger (2024). HELPFIG - a simple GUI for displaying (long) texts (https://www.mathworks.com/matlabcentral/fileexchange/33736-helpfig-a-simple-gui-for-displaying-long-texts), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
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.