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.
Ned Gulley (2023). Printing Variables to HTML Tables in Published Code (https://github.com/gulley/HTML-Tables), GitHub. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Versions that use the GitHub default branch cannot be downloaded
Moving to GitHub
BGCOLOR attribute for table cells has been deprecated in HTML. Switched code to use STYLE's BACKGROUND attribute instead.
Updated copyright line.
Fix copyright line.
Minor formatting change.
New publishing functionality simplifies the code.