I'd like to submit a patch for the Matlab bindings. Is there a favored channel for patch submission?

In the meantime, you will find the patch below.

The patch brings the following changes:

simxGetVisionSensorImage2 and simxReadVisionSensor extract datapoints from libpointer via matrix operations instead of loops. I have a 100x speedup for images of 256x256x3 pixels (.12s instead of 15s).

simxGetVisionSensorImage2 and simxReadVisionSensor no longer copy their image buffer to the corresponding return argument if that argument is not requested by the user.