.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 2025-07-12T18:21:06Z by OpenModelicaOpenModelica 1.25.1 using GenerateDoc.mos