Optimized fixed-point implementation of system
OptimizationSolution object is a fixed-point implementation of a
system whose data types were optimized using the
opens the Simulation Data Inspector. If the optimization found a solution, it returns
solution = explore(
OptimizationSolution object with the lowest cost out of the
OptimizationSolution objects contained in the
result. If the optimization
did not find a solution, it returns the
with the smallest
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
solution = result.Solutions(2)
OptimizationResult containing the solution
Solutions property of the
OptimizationResult object is a vector of
OptimizationSolution objects found during the
optimization process. If the optimization found 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 did not find a
feasible solution, the vector is sorted by
MaxDifference, with the solution with the
MaxDifference as the first element.
Cost — Sum of word lengths used in the system under design
Sum of all word lengths used in the solution in the system under design. The most optimal solution is the solution with the smallest cost.
Pass — Whether the solution meets specified criteria
1 | 0
Whether the solution meets the criteria specified by the associated
fxpOptimizationOptions object, specified as a logical.
MaxDifference — Maximum absolute difference between baseline solution run
The maximum absolute difference between the baseline the solution.
RunID — Run identifier
Unique numerical identification for the run used by the Simulation Data Inspector. For more information, see Inspect and Compare Data Programmatically.
RunName — Name of the run
Name of the run in Simulation Data Inspector.
|showContents||Get summary of changes made during data type optimization|
Handle. To learn how handle classes affect copy operations, see Copying Objects.
Introduced in R2018a