This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

OptimizationResult class

Result after optimizing fixed-point system

Description

An OptimizationResult object contains the results after optimizing a fixed-point system. If the optimization process succeeds in finding a new fixed-point implementation, you can use this object to explore the different implementations that met the specified tolerances found during the process. Use the explore method to open the Simulation Data Inspector and view the behavior of the optimized system.

Construction

result = fxpopt(model, sud, options) optimizes the data types in the system specified by sud in the model, model, with additional options specified in the fxpOptimizationOptions object, options.

Input Arguments

expand all

Name of the model containing the system that you want to optimize.

Data Types: char

System whose data types you want to optimize, specified as a character vector containing the path to the system.

Data Types: char

fxpOptimizationOptions object specifying additional options to use during the data type optimization process.

Properties

expand all

Message specifying whether the optimization process found a new optimal solution, returned as a character vector.

Data Types: char

The fxpOptimizationOptions object used as an input to the fxpopt function used to generate the OptimizationResult.

A vector of OptimizationSolution objects found during the optimization process. If the optimization finds a feasible solution, the vector is sorted by cost, with the lowest cost (most optimal) solution as the first element of the vector. If the optimization does not find a feasible solution, the vector is sorted by maximum difference from the original design.

Methods

exploreExplore fixed-point implementations found during optimization process

Copy Semantics

Handle. To learn how handle classes affect copy operations, see Copying Objects (MATLAB).

Introduced in R2018a