.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-07-01T18:21:00Z by OpenModelicaOpenModelica 1.25.0 using GenerateDoc.mos