changeFilePaths
Syntax
Description
changes the file paths stored in the unresolvedFilePaths
= changeFilePaths(gTruthMed
,alternateFilePaths
)DataSource
and
LabelData
properties of the groundTruthMedical
object gTruthMed
. The alternateFilePaths
argument
specifies pairs of current paths in gTruthMed
and alternative paths that point to the new data location on your
machine. The function returns any unresolved paths in
unresolvedPaths
. An unresolved path is a current path not found in
gTruthMed
or an alternative path not found on your machine. In both
cases, unresolvedPaths
returns only the corresponding current
path.
Use this function to update a groundTruthMedical
object if you move the
data source or label image files to a new folder. If you receive a
groundTruthMedical
object that was created on a different computer, use
this function to point to the data location on your local machine.
replaces only the file paths stored in the specified property,
unresolvedFilePaths
= changeFilePaths(gTruthMed
,alternateFilePaths
,ChangeProperty=propertyName
)DataSource
or LabelData
, of
gTruthMed
.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2022b