.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-05-10T18:20:09Z by OpenModelicaOpenModelica 1.25.0 using GenerateDoc.mos