Main Content
OperationResult
Status of individual operation when upgrading toolbox
Description
An OperationResult
object represents the status of an
individual operation when upgrading the personal settings of a toolbox.
Creation
Create a ReleaseCompatibilityResults
object for a specific toolbox
version number by using the matlab.settings.loadSettingsCompatibilityResults
function. The
Results
property of a ReleaseCompatibilityResults
object contains a VersionResults
object. The
VersionChanges
property of that VersionResults
object contains an array of OperationResult
objects.
For example, this code gets the array of OperationResult
objects for
version 2
of the toolbox
mytoolbox
.
myCompatibilityResults = matlab.settings.loadSettingsCompatibilityResults('mytoolbox','Version2'); myCompatibilityResults.Results.VersionChanges
ans = 1×2 OperationResult array with properties: Operation Status ExceptionLog
Properties
Examples
Version History
Introduced in R2019b