WOLFRAM SYSTEMMODELER

Utilities

Library of utility functions dedicated to scripting (operating on files, streams, strings, system)

Package Contents

UsersGuide

User's Guide of Utilities Library

Examples

Examples to demonstrate the usage of package Modelica.Utilities

Files

Functions to work with files and directories

Streams

Read from files and write to files

Strings

Operations on strings

System

Interaction with environment

Types

Type definitions used in package Modelica.Utilities

Internal

Internal components that a user should usually not directly utilize

Wolfram Language

In[1]:=
Click for copyable input
SystemModel["Modelica.Utilities"]
Out[1]:=

Information

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

This package contains Modelica functions that are especially suited for scripting. The functions might be used to work with strings, read data from file, write data to file or copy, move and remove files.

For an introduction, have especially a look at:

The following main sublibraries are available:

  • Files provides functions to operate on files and directories, e.g., to copy, move, remove files.
  • Streams provides functions to read from files and write to files.
  • Strings provides functions to operate on strings. E.g. substring, find, replace, sort, scanToken.
  • System provides functions to interact with the environment. E.g., get or set the working directory or environment variables and to send a command to the default shell.

Copyright © 1998-2016, Modelica Association, DLR, and Dassault Systèmes AB.

This Modelica package is free software and the use is completely at your own risk; it can be redistributed and/or modified under the terms of the Modelica License 2. For license conditions (including the disclaimer of warranty) see Modelica.UsersGuide.ModelicaLicense2 or visit https://www.modelica.org/licenses/ModelicaLicense2.