Specify the minimum array size in bytes for which memcpy
and
memset
function calls should replace
for
loops for vector assignments in the generated
code.
Category: Optimization
Default:
64
This parameter requires a Simulink® Coder™ license.
For the memcpy
optimization, this parameter is
enabled when you select Use memcpy for vector
assignment.
Parameter:
MemcpyThreshold |
Type: integer |
Value: valid quantity of bytes |
Default:
64 |
Application | Setting |
---|---|
Debugging | No impact |
Traceability | No impact |
Efficiency | Accept default or determine target-specific optimal value |
Safety precaution | No impact |