I have MATLAB and BeamNG.tech installed. I was instructed to use Simulink in conjunction with BeamNG.tech. I accessed the GitHub files to run the available examples; however, the step-by-step instructions are not very clear. I initialized the ‘throttle_example’ and set the path to the required ‘.csv’ file. However, when compiling and pressing play in the opened window, a crash error occurs.
Does anyone have a detailed step-by-step guide on how to properly set up and run it?
Could you test another example, like the torques_example? I’ve experienced similar crashes before with S-functions, often due to mismatches between the Lua script and the S-function configuration.