.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 2026-02-24T19:19:10Z by OpenModelicaOpenModelica 1.26.2 using GenerateDoc.mos