hdl.iterfun
R2026bSyntax
Description
___ = hdl.iterfun(___,"KernelArg",
passes the non-frame-based value arg)arg to the kernel function on every
iteration. The function does not iterate on the value of arg.
___ = hdl.iterfun(___,Name=Value) specifies
one or more name-value arguments. Specify the name-value arguments after all the arguments
in any of the previous syntaxes.
Examples
Input Arguments
Name-Value Arguments
Output Arguments
Tips
To use
hdl.iterfun, you must enable dataflow representation. To usehdl.iterfunin a MATLAB function, open the MATLAB HDL Workflow Advisor. In the HDL Code Generation task, in the Optimizations tab, enable the Aggressive Dataflow Conversion parameter. To usehdl.iterfunin a MATLAB Function block, set the Architecture HDL block property toDatapath.
Extended Capabilities
Version History
Introduced in R2026b