In case you have external inputs coming in through inport block, make sure you enter valid parameters in Configuration Parameters > Data Import/Export > Input parameter and the corresponding parameters are available in MATLAB worksapce. In case you don't have any inport block, you can deselect Configuration Parameters > Data Import/Export > Input parameter.
Refer to the link below for more details.