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
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.32 | 1.29 | 1.3.0 | R2023b & later | 3.9 |
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
The Toolbox is available at: https://www.mathworks.com/matlabcentral/fileexchange/166246-beamng-tech-support-for-matlab-and-simulink