WOLFRAM SYSTEM MODELER

list

List content of file or directory

Wolfram Language

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

Information

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

Syntax

Files.list(name);

Description

If "name" is a regular file, the content of the file is printed.

If "name" is a directory, the directory and file names in the "name" directory are printed in sorted order.

Syntax

list(name)

Inputs (1)

name

Type: String

Description: If name is a directory, list directory content. If it is a file, list the file content