Capella Logical Model to Matlab simulink model migration

Hello all,

Can anyone please guide is there any API or process available to convert Capella Logical model to Simulink model. I have created logic in statemachine in Capella want to know how to migrate to Matlab Stateflow. It’s very great full if anyone know the process and required 3rd party API’s to perform the task