close

Close file

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

Syntax

Streams.close(fileName)

Description

Close file if it is open. Ignore call if file is already closed or does not exist.

Syntax

close(fileName)

Inputs (1)

fileName

Type: String

Description: Name of the file that shall be closed