Display a text file

Display a text file in a popupmenu.
Updated 11 Mar 2012

View License

Display a text file in a popupmenu

Usuage: popupmessage(filename,window_name)

E.g., popupmessage('popupmessage.m','popupmessage.m');

Cite As

Samuel Cheng (2024). Display a text file (https://www.mathworks.com/matlabcentral/fileexchange/7396-display-a-text-file), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R12
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Migrate GUIDE Apps in Help Center and MATLAB Answers

Inspired: ChessPeace

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

Remove a bug that opening empty file would lead to error.