function writeTable input String filename; input String tablename; input Real[:, :] table; end writeTable;