The matrix returned by view isn't terribly useful unless the axes' stretch-to-fill behavior has been turned off. Probably the easiest way to turn it off is to call axis vis3d. If you call that before your example, you get the answer you'd expect:
axis vis3d
camproj('orthographic')
set(gca, 'CameraPosition', [0,0,0])
set(gca, 'CameraTarget', [0,0,1])
set(gca, 'CameraUpVector', [0,1,1])
Now...
>> A = view
A =
-1 0 0 0
0 1 0 0
0 0 1 0
0 0 0 1
FYI, another way of disabling the stretch-to-fill behavior is to set the CameraViewAngle property, as mentioned here.