Hey @bissingen,
if you rebuild the examples like wind_turbine_nx6 fitting to your problem you should be able to implement it in a simulink model without any source files. You just need the acados_solver_sfunction_ocp_model. c and -.mexw64 files.
In your code you should create the ocp first, then use ocp.generate_c_code and make_s_fun.m. In make_s_fun.m you will see the needed sources and libraries being included automatically in the build:
SOURCES = [ ...
'ocp_model_model/ocp_model_impl_dae_fun.c ', ...
'ocp_model_model/ocp_model_impl_dae_fun_jac_x_xdot_z.c ', ...
'ocp_model_model/ocp_model_impl_dae_jac_x_xdot_u_z.c ', ...
'ocp_model_constraints/ocp_model_constr_h_fun.c ', ...
'ocp_model_constraints/ocp_model_constr_h_fun_jac_uxt_hess.c ', ...
'ocp_model_constraints/ocp_model_constr_h_fun_jac_uxt_zt.c ', ...
'acados_solver_sfunction_ocp_model.c ', ...
'acados_solver_ocp_model.c '
];
INC_PATH = 'D:\ACADOS_C_Code_Test\ConfigDesk\Models\acados\examples\acados_matlab_octave\..\../include';
INCS = [ ' -I', fullfile(INC_PATH, 'blasfeo', 'include'), ...
' -I', fullfile(INC_PATH, 'hpipm', 'include'), ...
' -I', INC_PATH, ' -I', fullfile(INC_PATH, 'acados'), ' '];
CFLAGS = ' -O';
LIB_PATH = 'D:\ACADOS_C_Code_Test\ConfigDesk\Models\acados\examples\acados_matlab_octave\..\../lib';
LIBS = '-lacados -lhpipm -lblasfeo';
eval( [ 'mex -v -output acados_solver_sfunction_ocp_model ', ...
CFLAGS, INCS, ' ', SOURCES, ' -L', LIB_PATH, ' ', LIBS ]);
Edit: Note that this depends on your problem formulation.
If you want to use the simulink coder to go on another target system like dspace rt you will have to compile the libraries and source files again fitting to dspace, e.g. with toolchain-files. (see my post here or the issue un github).
If you have any questions dont hesitate to ask.
greets, Alex