Main Content
validateOutputLocation
Class: matlab.io.datastore.FileWritable
Namespace: matlab.io.datastore
Syntax
location = validateOutputLocation(ds,location)
Description
location = validateOutputLocation(
returns a validated string that can be used to write datastore files to the output location
via ds
,location
)writeall
.
If your custom datastore subclasses from matlab.io.datastore.FileWritable
,
then it inherits a validateOutputLocation
method that ensures that the output
location is a string. If you want to perform additional validation of the output location,
then you must implement your own validateOutputLocation
method in the
subclass.
Input Arguments
Version History
Introduced in R2020a