Write multiple real variables to file
function writeRealVariables extends Modelica.Icons.Function; input String fileName "Name of file" annotation( Dialog(saveSelector(filter = "Text file (*.txt;*.dat)", caption = "Text data file"))); input String name[:] "Name of variable"; input Real data[:] "Actual value of variable"; input Boolean append = false "Append data to file"; input Integer significantDigits = 6 "Number of significant digits"; end writeRealVariables;