Figure from text file (supports HTML tags)

버전 1.0.0.0 (7.08 KB) 작성자: Andrew
This function takes text from a file and creates a figure to display it
다운로드 수: 474
업데이트 날짜: 2014/5/2

라이선스 보기

This function takes text from a file and creates a figure to display it. It supports HTML tags in the text (e.g. <i>abs(…)</i>), as well as tables
I use this function to create help / about figures for GUI's. Often the help / about changes considerably over the course of the project, so I like to just be able to edit a text file and let this function take care of the rest. I have included a text file from one such project as an example.

The created figure is designed to have the general appearance of a text editor viewing an A4 page

It supports section headings, marked by: /Section
as well as tab delimited tables,
with boundaries given marked by: /tablestart
/tableend

(I haven't been game enough to let HTML handle tables directly)

NOTES: This function consists of mostly undocumented MATLAB functions. As such I wouldn't stray too far away from the example

ACKNOWLEDGEMENTS:
This function wouldn't have been possible without the java uiobject discussions at:
http://undocumentedmatlab.com/

인용 양식

Andrew (2024). Figure from text file (supports HTML tags) (https://www.mathworks.com/matlabcentral/fileexchange/46445-figure-from-text-file-supports-html-tags), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2013b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Migrate GUIDE Apps에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0