The error you mentioned might be because you closed the Unreal Engine Simulation window before stopping the simulation in Simulink. When the Unreal Engine Simulation window is stopped before Simulink, it still tries to connect to Unreal and fails eventually. Hence, a read error is thrown. Please let me know if the issue persists in other scenarios as well. Thanks!