% Script/Function Filename:
%     calculateCatalan.m
% Purpose:
%     Enter the purpose of the function/file here
%     
% Record of modifications:
%     Programmer(s): {Your Name}
%     Date Due: YYYY-MM-DD
%     Date Submitted: YYYY-MM-DD
%     References: ????
%     Help Received: ????
%     
% Variables Used:
%     Enter the variables that you use here
function [] = calculateCatalan( source , ~ )
n = round( get( source , 'Value' ) );
set( 1 , 'Name' , sprintf( ...
    'Catalan Number % 2d is % 4d' , n , ourCatalan( n ) ) );
end