functiondirname

Returns the directory name of a file path.

Information

Similar to dirname(3), but with the safety of Modelica strings.

Inputs

TypeNameDefaultDescription
Stringpath

Outputs

TypeNameDefaultDescription
Stringdirname