Main Content

unwrap

Display full file path and name

Since R2023a

Description

fullFileName = unwrap(fileObj) returns the full path and name of the file represented by the bioinfo.pipeline.datatypes.File object fileObj.

example

Examples

collapse all

Create a File object.

file1 = which("SRR6008575_10k_1.fq");
fObj = bioinfo.pipeline.datatype.File(file1)
fObj = 
  File with no properties.

Use unwrap to display the full file path.

unwrap(fObj)

Input Arguments

collapse all

File object, specified as a bioinfo.pipeline.datatypes.File object or array of such objects.

Output Arguments

collapse all

Full file path and name, returned as a string or string array. If you specify an array of File objects as input, fullFileName will be a string array of the same size.

Version History

Introduced in R2023a