OptimizationSolution Class
Optimized fixed-point implementation of system
Description
An OptimizationSolution
object is a fixed-point implementation of a
system whose data types were optimized using the fxpopt
function.
Construction
opens the Simulation Data Inspector. If the optimization found a solution, it returns
the solution
= explore(result
)OptimizationSolution
object with the lowest cost out of the
vector of OptimizationSolution
objects contained in the OptimizationResult
object, result
. If the optimization
did not find a solution, it returns the OptimizationSolution
object
with the smallest MaxDifference
.
You can also access a OptimizationSolution
object by indexing the
Solutions
property of an OptimizationResult
object. For example, to access the solution with the
second lowest cost contained in the OptimizationResult
object,
result
,
enter
solution = result.Solutions(2)
Input Arguments
Properties
Methods
showContents | Get summary of changes made during data type optimization |
Copy Semantics
Handle. To learn how handle classes affect copy operations, see Copying Objects.
Version History
Introduced in R2018a