OperationResult
Status of individual operation when upgrading toolbox
Description
AnOperationResult
object represents the status of an individual operation when upgrading the personal settings of a toolbox.
Creation
Create aReleaseCompatibilityResults
object for a specific toolbox version number by using thematlab.settings.loadSettingsCompatibilityResults
function. TheResults
财产的ReleaseCompatibilityResults
对象包含一个VersionResults
object. TheVersionChanges
property of thatVersionResults
对象包含一个n array ofOperationResult
objects.
For example, this code gets the array ofOperationResult
objects for version2
of the toolboxmytoolbox
.
myCompatibilityResults = matlab.settings.loadSettingsCompatibilityResults('mytoolbox','Version2');myCompatibilityResults.Results.VersionChanges
ans = 1×2 OperationResult array with properties: Operation Status ExceptionLog