Convert file path to Universal Resource Identifier (URI)
uri = mlreportgen.utils.fileToURI... ("C:/Users/jsmith/Desktop/200-C Form.pdf")
uri = "file:/C:/Users/jsmith/Desktop/200-C%20Form.pdf"
filename— Name of file to convert
Name or full path of file to convert, specified as a character vector or string scalar.
uri— Universal Resource Identifier version of file name
Universal Resource Identifier (URI) of the file, returned as a character vector or string scalar. URIs are strings that identify resources. In particular, they specify the name of a file and the path to that file. By using a standard format, URIs allow access to a resource over a network. Web addresses (URLs) are types of URIs.