
To build a Simulink funtion of the <mtt_model_name> model without using MTT:

mex <mtt_model_name>_sfun.c

If numerical solution of algebraic equations is also required:

mex <mtt_model_name>_sfun_ae.c
