%% Renames subsystem ports to outer signals
%
% The function renames the inports or outports of a given subsystem to
% the names of the signals connected to the corresponding port from outside
% the subsystem. If signal is of type <NAME> the port is renamed to NAME.
% If signal has no name the port is not renamed.
%
% INPUT PARAMETERS:
%   x_Subsystem - Subsystem whose ports should be renamed, specified as
%               full system path name or handle
%   s_SignalNameParameter - 'InputSignalNames' for inport or
%               'OutputSignalNames' for outport
%   s_PortType - 'Inport' for inport or 'Outport' for outport
%
