i am doing my project that i have made in simulink. i am using the joystick blocks from example in simulink VRcraneJoystick then add the components from arduino example to write the output from my joystick with a certain gain to my servo. all the simulation works. but some time even when i put the simulation in "inf" mode. its stops anhd shows error. and dosent start again. i have to restart matlab for it to run again for the same time.