write
Class: matlab.io.datastore.FileWritable
Namespace: matlab.io.datastore
Syntax
tf = write(ds,data,info,outputFormat)
tf = write(ds,data,info,outputFormat,varargin)
Description
tf = write(
writes a chunk of data from the datastore and returns a value of logical ds
,data
,info
,outputFormat
)1
(true
) if the operation is successful.
If your custom datastore subclasses from matlab.io.datastore.FileWritable
,
then it inherits a write
method that is capable of writing data for known
datastore formats. However, if your custom datastore works with custom data formats, then you
must implement your own write
method in the subclass. This method must be
capable of writing data in any format listed in the
SupportedOutputFormats
property of the class.
tf = write(
also specifies one or more additional input arguments, which are passed to the
ds
,data
,info
,outputFormat
,varargin
)write
method as a varargin
cell array.
Input Arguments
Version History
Introduced in R2020a