MATLAB-Simulink Integration

Overview

The integration marks a significant collaboration between two flagship products of MathWorks i.e., MATLAB and Simulink . This cohesive integration, facilitated by a comprehensive toolbox, empowers users to seamlessly connect and interact with BeamNG.Tech for enhanced simulation and analysis. The toolbox encompasses both Simulink and MATLAB bridges, providing users with a unified solution that amplifies the capabilities of these MathWorks products in tandem. Additionally, the setup involves BeamNGpy for MATLAB, while Simulink establishes native communication with BeamNG.tech through the UDP protocol using a specially designed S-function , creating a robust and versatile simulation environment.

MATLAB and Simulink Support for BeamNG.tech allows to connect the Mathworks products with the BeamNG.tech software with two different methods:

  • MATLAB ⇿ BeamNGpy ⇿ BeamNG.tech
  • Simulink ⇿ BeamNG.tech

MATLAB-Simulink-integration_Toolbox MATLAB-Simulink-integration_Toolbox

Prequest

you must have the following softwares/packages installed

Compatibility

Running the BeamNG-MATLAB-Simulink-integration requires three individual software components, here is a list of compatible versions.

BeamNG.Tech BeamNGpy BeamNG-MATLAB-Simulink-Integration MATLAB Python
0.31 1.28 1.2.0 R2022b & later 3.9
0.30 1.27.1 1.1.0 R2022b & later 3.9
0.29 1.26.1 1.0.0 R2022b & later 3.9

The code is available at: https://github.com/BeamNG/BeamNG-MATLAB-Simulink-integration

Last modified: 12/1/2024 10:07

Any further questions?

Join our discord