.OpenModelica.Scripting.writeFile

Writes data to a file.

Information

Returns true on success. If append = true the data is appended to the file, otherwise the file is overwritten with the new content.

Interface

impure function writeFile
  input String fileName;
  input String data;
  input Boolean append = false;
  output Boolean success;
end writeFile;

Generated at 2026-03-08T19:13:45Z by OpenModelicaOpenModelica 1.26.3 using GenerateDoc.mos