Use memcpy for vector assignment
Whether to enable memcpy optimization
Description
App Configuration Pane: Advanced
Configuration Objects: coder.MexCodeConfig | coder.CodeConfig | coder.EmbeddedCodeConfig
The Use memcpy for vector assignment parameter specifies whether
to use the memcpy optimization. To optimize code that copies
consecutive array elements, the memcpy optimization replaces the code
with a memcpy call. When the number of elements to copy is known at
compile time, the code generator uses the Memcpy threshold (bytes)
parameter to determine whether to use the optimization. For more information, see memcpy Optimization.
Dependencies
To enable this parameter, select Use memcpy for vector assignment.
Settings
- On
Uses the
memcpyoptimization, if possible. This value is the default value.- Off
Does not use the
memcpyoptimization.
Programmatic Use
Property:
EnableMemcpy |
Values: true |
false |
Default: true |