Matlab CasADi DAE problem

Hello,
Is there any matlab examples for an OCP on CasADi with a DAE problem formulation (example: cart-pole) as I can’t seem to find any in CasADI’s documentation?