wikimarkup

Generates latex, html, mediawiki, xml code for tables, images, text and matlab structures.
295 Downloads
Updated 7 Jun 2011

View License

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 .

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on MATLAB Report Generator in Help Center and MATLAB Answers
Version Published Release Notes
1.1.0.0

Changed description.

1.0.0.0