hasPrivateData
Determine whether operating point data contains private data elements
Syntax
Description
hasPrivateData(
returns true
(op
)1
) if the operating point data tree contains elements
corresponding to the Simscape™ language file members with the attribute ExternalAccess =
none
. Returns false (0
) if the operating point does
not contain private data.
Simscape language members with the attribute ExternalAccess =
none
are not observable by definition. Therefore, you cannot see them
in the operating point data, but their inclusion helps restore the simulation state
of the model during initialization.
When you create an operating point by extracting it from a model or from logged simulation data, private data is included by default.
Examples
Input Arguments
Version History
Introduced in R2018a