writeFrames
R2026b(To be removed) Write signal frames for ground truth data to disk
writeFrames will be removed in a future release.
Use the groundTruthMultiSensor (Point Cloud Toolbox) object instead.
For information on updating your code, see Version
History.
Syntax
Description
writes the frames of ground truth signal sources to the specified folder locations. The
function returns the names of the files containing the written frames.
fileNames = writeFrames(gTruth,signalNames,location)fileNames contains one file name per signal specified by
signalNames per groundTruthMultisignal object specified by gTruth.
Use these written frames and the associated ground truth labels obtained from the
gatherLabelData function as training data for machine learning or deep
learning models.
specifies the timestamps of the signal frames to write. To obtain signal timestamps, use the
fileNames = writeFrames(gTruth,signalNames,location,timestamps)gatherLabelData function.
specifies options using one or more name-value pair arguments, in addition to any of the
input argument combinations from previous syntaxes. For example, you can specify the prefix
and file type extension of the file names for the written frames.fileNames = writeFrames(___,Name,Value)
Examples
Input Arguments
Name-Value Arguments
Output Arguments
Version History
Introduced in R2020aSee Also
imformats | imwrite | pcwrite (Point Cloud Toolbox)
Objects
groundTruthMultiSensor(Point Cloud Toolbox)
Functions
writeFrames(Point Cloud Toolbox)

