Figure from text file (supports HTML tags)

Version (7,08 ko) par Andrew
This function takes text from a file and creates a figure to display it
475 téléchargements
Mise à jour 2 mai 2014

Afficher la licence

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

(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

This function wouldn't have been possible without the java uiobject discussions at:

Citation pour cette source

Andrew (2024). Figure from text file (supports HTML tags) (, MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2013b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
En savoir plus sur Migrate GUIDE Apps dans Help Center et MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version