Main Content

isPartitionable

R2026b

Determine whether datastore is partitionable

Description

tf = isPartitionable(dst) returns logical 1 (true) if the datastore dst is partitionable and logical 0 (false) otherwise.

example

Examples

collapse all

Test whether the datastore myDS is partitionable.

tf = isPartitionable(myDS)
tf =

  logical

   0

Input Arguments

collapse all

Input datastore, specified as one of these options:

  • MATLAB® datastores — Datastores created using MATLAB datastore functions. For a complete list of datastores, see Select Datastore for File Format or Application.

  • Combined and transformed datastores — Datastores created using the combine and transform functions.

  • Custom datastores — Datastores created using the custom datastore framework. Any datastore that subclasses from matlab.io.Datastore supports the isPartitionable function. See Develop Custom Datastore for more information.

Version History

Introduced in R2020a