Main Content
ReleaseCompatibilityException
Exception that occurs when upgrading toolbox
Description
A ReleaseCompatibilityException
object represents an exception that
occurs 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.
Access the PreValidationExceptions
property to get an array of
ReleaseCompatibilityException
objects.
For example, this code gets the prevalidation exceptions for version
2
of the toolbox mytoolbox
as an array of
ReleaseCompatibilityException
objects.
myCompatibilityResults = matlab.settings.loadSettingsCompatibilityResults('mytoolbox','Version2'); myCompatibilityResults.PreValidationExceptions
ans = 0×0 ReleaseCompatibilityException array with properties: ExceptionString ExceptionID
Properties
Examples
Version History
Introduced in R2019b