Hi Sven, I don't have Matlab on my computer so the following is just a wild guess: As far as I know you can include C code into Matlab or at least into Simulink. Maybe you could try to execute your Python script in that C code? Daniel