ODEHubs is a tool developed in the MATLAB/Simulink environment for Optimal Dipatch in Energy Hubs. It contains a set of parametrisable blocks that allows defining the relationships beetwen input and output resources and solving the optimisation problem through MILP.