matlab s函数报错,输入参数不足??

An error occurred while running the simulation and the simulation was terminated

Caused by:

●Error in'untitled/S-Function' while executing MATLAB s-function 'Slizi7', flag = 3 (output), at time 0.02.。输入参数的数目不足。

Component Simulink I Category: Block error

Errorin'untitled/s-Function' while executing MATLAB S- function 'slizi7', flag

9 (terminate), at time 0.02.

Caused by:

●未定义与'double '类型的输入参数相对应的函数, mdl Terminate”

Component Simulink | Category: Block( error