function [ExternalX, ExternalY, ExternalZ, ExternalR, initial_X, initial_Y, initial_Z, initial_R, tableContent, Rotation, Hyperbolic, Gain, AngleGain, AngleCorr] = functionSetting(gcb)

%blkParam = get_param(gcb, 'maskvalues');
Hyperbolic = 0;
Gain = 1/CordicGain('8', 'Circular');
AngleGain = 1;
AngleCorr = 0;
tableContent = (atan([1, 1/2, 1/4, 1/8, 1/16, 1/32, 1/64, 1/128]))*180/pi;
initial_X = 0;
initial_Y = 0;
initial_Z = 0;
initial_R = 0;

%'Cartesian to Polar'
Rotation = 1; %Vector Mode
ExternalX = 1;
ExternalY = 1;
ExternalZ = 0;
ExternalR = 0;

function An = CordicGain(n, Mode)
An = 1;
if strcmpi(Mode, 'Circular')
for i = 0 : str2num(n) - 1
tmp = -2*i;
An = An * sqrt(1+ (2^(tmp)));
end
elseif strcmpi(Mode, 'Hyperbolic')
for i = 1 : str2num(n) - 1
%An = An * sqrt(1 - (2^(-2*i)));
An = 0.8;
end
end