.OpenModelica.Scripting.uriToFilename

Converts a URI to a filename.

Information

Handles modelica:// and file:// URI's. The result is an absolute path on the local system. modelica:// URI's are only handled if the class is already loaded.

Returns the empty string on failure.

Interface

function uriToFilename
  input String uri;
  output String filename = "";
end uriToFilename;

Generated at 2025-09-17T18:21:10Z by OpenModelicaOpenModelica 1.25.4 using GenerateDoc.mos