- Go to "Code Generation" > "Optimization" > "Advanced Parameters" and set the "Loop unrolling threshold" as 4.

- Use the "set_param" function in command line.




Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!