Printing Variables to HTML Tables in Published Code
Editor's Note: This file was selected as MATLAB Central Pick of the Week
One often-requested feature for Cell Mode publishing is to have a command that simply displays the output of a MATLAB® variable as a table. This file shows how to do that.
Cite As
Ned Gulley (2024). Printing Variables to HTML Tables in Published Code (https://github.com/gulley/HTML-Tables), GitHub. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: im2html.m
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.
Versions that use the GitHub default branch cannot be downloaded
Version | Published | Release Notes | |
---|---|---|---|
1.5.0.0 | Moving to GitHub |
|
|
1.4.0.0 | BGCOLOR attribute for table cells has been deprecated in HTML. Switched code to use STYLE's BACKGROUND attribute instead. |
||
1.3.0.0 | Updated copyright line. |
||
1.2.0.0 | Fix copyright line. |
||
1.1.0.0 | Minor formatting change. |
||
1.0.0.0 | New publishing functionality simplifies the code. |