You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: Camera.m
    path of file: ./repos/machinevision-toolbox-matlab/@Camera
    
    the code of the file until where you have to start completion: %Camera  Camera superclass
%
% An abstract superclass for Toolbox camera classes.
%
% Method
    
function rpy(c, roll, pitch, yaw)
            %Camera.rpy Set camera attitude
            %
            % C.rpy(R, P, Y) sets the camera attitude to the specified roll-pitch-yaw angles.
            %
            % C.rpy(RPY) as above but RPY=[R,P,Y].
            if nargin == 2,
                pitch = roll(2);
                yaw = roll(3);
                roll = roll(1);
            end