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: parvar.m
    path of file: ./repos/YALMIP/extras
    
    the code of the file until where you have to start completion: function sys = parvar(varargin)

    
function sys = parvar(varargin)
%PARVAR Create symbolic parametric variable 
%   
%   PAPRVAR works exactly as SDPVAR, with the only difference that
%   the elements in the variable automatically will be defined
%   as parametric variables (for a multi-parametric program)
%
%   See also PARAMETRIC, INTVAR, BINVAR, SDPVAR, BINARY, INTEGER

switch nargin
    case 1
        sys = sdpvar(varargin{1});
    case 2
        sys = sdpvar(varargin{1},varargin{2});
    case 3
        sys = sdpvar(varargin{1},varargin{2},varargin{3});
    case 4
        sys = sdpvar(varargin{1},varargin{2},varargin{3},varargin{4});
    otherwise
        error('Wrong number of input arguments. See help-text for sdpvar')
end