%% Add Required Input
% Create an inputParser object and add a required input named myinput to the input scheme.

p = inputParser;
argName = 'myinput';
addRequired(p,argName)

% Call the parse function with the input value 7, and display the results.

parse(p,7)
p.Results

% Copyright 2015 The MathWorks, Inc.