wikimarkup

Generates latex, html, mediawiki, xml code for tables, images, text and matlab structures.

You are now following this Submission

wikimarkup is a class to automatically generate latex/wiki/html markup for matlab objects. Currently it supports cell or numeric matrices, images (as filenames) and structures. Adding new syntax is easy too!

Usage: Instantiate the class and start adding tables, images, text etc. Finally you can save the code generated into four different formats.

This is version 0! So, feedback is much appreciated.

(1) CREATE AN OBJECT WITH YOUR DESIRED SYNTAX
w = wikimarkup('html'); % also 'latex', 'mediawiki', 'xml'

(2) ADD YOUR IMAGES/TABLES/STRUCTURES/TEXT/SECTIONS
w.addImage(filename, caption); % caption is optional
w.addTable(matrix, rownames, colnames, caption); % args 2, 3, 4 are optional
w.addStruct(structure);
w.addText(text);
w.addSection(name);

(3) SAVE
w.printWiki(filename); if no filename is given, text is printed onto screen

Cite As

Pavan Mallapragada (2026). wikimarkup (https://www.mathworks.com/matlabcentral/fileexchange/31698-wikimarkup), MATLAB Central File Exchange. Retrieved .

Categories

Find more on MATLAB Report Generator in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0.0

Changed description.

1.0.0.0