Verify Matlab matrix reading