When I create a new CM4SL project (I used Carmaker 9,10.0.1, 10.2) and use the generic.mdl to launch Carmaker and run a simulation, I can only run the simulation once. The second time I press Start on Carmaker GUI (Or start sim on Simulink), I get this message. Over last year I have had an open ticket with IPG but this remains unresolved. I have tested this on multiple laptops in our organisation and also brand new laptops that do not have our organisation’s firewalls/antivirus installed and have been able to replicated this issue.
I have tried clear mex and all other related mex clearning commands in Matlab. But the libcarmaker4sl.mex cannot be unloaded from Matlab.
Only way to resolve this has been to restart Simulink.
Is anyone else facing this issue?