I figured it out - you have to use a Mux/Demux Block. This way, the embedded coder creates an array of the inputs and outputs, respectively:
/* External inputs (root inport signals with default storage) */
typedef struct {
real_T INPUTS[6]; /* '<Root>/Inport' */
} ExtU_Regelung_T;