Here are my MonkeyLogic latency results. In summary, using the new limitrate command appears to be a good solution for Matlab R2014 and later.
Controls: Matlab R2011_A_32BIT_WIN7 and R2013_B_32BIT_WIN7, latency < 1ms (running an nVidia Quadro FX570)
Before the limitrate change:
R2015_A_32BIT_WIN7 latency was ~20ms (running an nVidia Quadro FX570)
R2015_A_32BIT_WIN10 latency was ~ 9 ms (running geforce gtx960 graphics card)
After the limitrate change:
R2015_A_32BIT_WIN7 latency was < 1 ms, maybe even < ~0.1 ms (running an nVidia Quadro FX570)
R2015_A_32BIT_WIN10 latency was < 2 ms (running geforce gtx960 graphics card)
The only surprise is that the older Windows7 hardware and software ran faster. One likely explanation might be that in Win7 my video stimulus display (second monitor) was set to a resolution of 1360x768 @ 60Hz, but in Win10 I was testing on a ViewPixx monitor running at 1920x1200 @120hz. Nonetheless, these latency values are now within acceptable range on either system.
Final note, I was not able to test on a 64 Bit version of MonkeyLogic because there appears to be a codec problem.I have updated the Git repository with a new release:
Here are the screenshots, please refer to the labels.
R2015_A_32BIT_WIN7: (notice extremely long latency)
R2015_A_32BIT_WIN7_LIMITRATE : (notice the latency is now very small after the limitrate correction)
R2015_A_32BIT_WIN10: again notice the very long latency
R2015_A_32BIT_WIN10_LIMITRATE: after the correction the latency is back to normal