WOLFRAM SYSTEM MODELER

existDirectory

Inquire whether directory exists; if present and not a directory, trigger an error<br><br>This class is declared protected in <a href="Modelica.Utilities.Files.createDirectory.html">Modelica.Utilities.Files.createDirectory</a>

Wolfram Language

In[1]:=
SystemModel["Modelica.Utilities.Files.createDirectory.existDirectory"]
Out[1]:=

Syntax

exists = existDirectory(directoryName)

Inputs (1)

directoryName

Type: String

Outputs (1)

exists

Type: Boolean

Description: = true, if directory exists