Solved: Matlab R2024a Updated 3 solved the problem. It was a problem with the MathWorksSimulation plugin