function printMatrixInHtml extends Modelica.Icons.Function; import Modelica.Utilities.Streams.print; input Real M[:, :] "Real matrix"; input String name = "" "Matrix name used for printing"; input String fileName = "log.html" "Name of file to be printed in (incl. file extension)"; input String format = ".6g" "Format of numbers (e.g. \"20.8e\")"; input Boolean printIndices = true "=true, if row and column indices shall be printed, otherwise they are not printed"; end printMatrixInHtml;