hdl.iteratorfun
R2026b(To be removed) Apply iterative operation to an incoming image or matrix for frame-to-sample conversion
Since R2022b
hdl.iteratorfun will be removed in a
future release. Use hdl.iterfun
instead. (since R2026b) For more information on updating your code, see Version History.
Syntax
Description
applies the iterative operation, out = hdl.iteratorfun(iterFun,I,outputData)iterFun, to each element of the input
data I. outputData is the initial value of
out and stores the output of each iteration of
iterFun. The final value of outputData is the
returned function output out.
hdl.iteratorfun supports iterative operations in
iterFun, such as looping over arrays to produce a single output to an
incoming image or matrix for histogram equalization and to compute statistics such as
min and max.
Note
hdl.iteratorfun is a utility function that applies an iterative
operation from another function to incoming data.
Examples
Input Arguments
Output Arguments
Tips
Note
The function hdl.iteratorfun requires a dataflow representation. If
you use hdl.iteratorfun in your MATLAB function, open the MATLAB HDL
Workflow Advisor. In the HDL Code Generation task, in the
Optimizations tab, enable the Aggressive Dataflow
Conversion parameter.