Simscape Vehicle Templates

Set of templates for creating custom vehicle models using Simscape for use within Simulink.
6.2K Downloads
Updated 18 Sep 2023
This library contains library blocks and a configurable vehicle model that you can use for a wide range vehicle design tasks. This video shows you some of the capabilities: https://youtu.be/kWfv_zZrO-4
For more details, see this page:
Here are some of the tasks you can perform:
  1. Explore powertrain architectures for conventional, hybrid, battery electric, and fuel cell vehicles.
  2. Modify the suspension design by moving hardpoints obtained from CAD.
  3. Connect custom multilink suspensions to hydraulic and pneumatic systems.
  4. Design active chassis controls for anti-lock brakes, stability control, and active roll control.
  5. Develop regenerative braking algorithms connected to electric powertrains.
  6. Test your designs against realistic road profiles by converting GPS data into 3D road definitions.
  7. Optimize vehicle-level performance by tuning design parameters in any system. See how TWT GmbH tuned vehicle suspension using deep learning.
  8. Validate ADAS algorithms in scenarios involving stoplights, vehicles, and pedestrians.
  9. Find stability limits for vehicle-trailer combinations.
  10. Test your embedded software against a virtual vehicle using HIL simulation.
The templates are designed to be extendable. Create your own variant for any portion of the vehicle model (such as the brakes, suspension, or drivetrain) and you can adjust the libraries so that variant can be selected.
See also these slides for more details on how the templates work: Simscape Vehicle Templates PDF.
Please open sm_car_proj.prj to get started.
Use these hyperlinks to access these materials.

Cite As

Steve Miller (2024). Simscape Vehicle Templates (https://github.com/mathworks/Simscape-Vehicle-Templates/releases/tag/23.2.2.15), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2023b
Compatible with R2018b to R2023b
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
23.2.2.15

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Vehicle-Templates/releases/tag/23.2.2.15

23.1.2.15

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Vehicle-Templates/releases/tag/23.1.2.15

23.1.2.14

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Vehicle-Templates/releases/tag/23.1.2.14

22.2.2.15

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Vehicle-Templates/releases/tag/22.2.2.15

22.2.2.14

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Vehicle-Templates/releases/tag/22.2.2.14

22.1.2.15

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Vehicle-Templates/releases/tag/22.1.2.15

22.1.2.14

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Vehicle-Templates/releases/tag/22.1.2.14

21.2.2.15

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Vehicle-Templates/releases/tag/21.2.2.15

21.2.2.14

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Vehicle-Templates/releases/tag/21.2.2.14

21.1.2.15

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Vehicle-Templates/releases/tag/21.1.2.15

21.1.2.14

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Vehicle-Templates/releases/tag/21.1.2.14

20.2.2.15

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Vehicle-Templates/releases/tag/20.2.2.15

20.2.2.14

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Vehicle-Templates/releases/tag/20.2.2.14

20.1.2.15

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Vehicle-Templates/releases/tag/20.1.2.15

20.1.2.14

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Vehicle-Templates/releases/tag/20.1.2.14

19.2.2.15

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Vehicle-Templates/releases/tag/19.2.2.15

19.2.2.14

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Vehicle-Templates/releases/tag/19.2.2.14

19.1.2.15

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Vehicle-Templates/releases/tag/19.1.2.15

19.1.2.14

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Vehicle-Templates/releases/tag/19.1.2.14

18.2.2.15

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Vehicle-Templates/releases/tag/18.2.2.15

18.2.2.14

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Vehicle-Templates/releases/tag/18.2.2.14

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.