Skip to content

mathworks/EV-with-MATLAB-and-Simulink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Electric Vehicle with MATLAB and Simulink Resources

This repository is a collection of MATLAB® and Simulink® resources for students, educators, and researchers interested in electric vehicles and related systems and subsystems. Similar extended resource collections are available for complex and engineered systems such as UAV and Renewable Energy Systems.

MathWorks® provide various tools to facilitate the design and development of electric vehicles. The diagram below highlights tools for electric vehicle and automotive design. You can find the full set of MathWorks toolboxes and blocksets at the MathWorks product page. Overview of related Toolboxes and Blocksets related to design, modeling, simulation, analysis, development of elextric and hybrid vehicles

To help find related materials, the content is categorized based on their overall focus on related topics to EV design and development.

Note: Recently added items are identified with a " ⭐ (New! 20xx-xx)" at the beginning of the line.

Full System

Highlights

  • MATLAB and Simulink for Electric Vehicle Development [Content Collection] — MATLAB, Simulink, and Simscape enable engineers to model, simulate, and optimize electric vehicle systems including batteries, motors, and controllers using pre-built reference applications.
  • Upskill for the Electric Vehicle Transition [Content Collection] — A curated set of free tutorials and courses to build skills in EV system development, covering motor control, battery management, fuel cells, and simulation.
  • Battery Electric Vehicle Model in Simscape [Code/Model] — A modular and multi-fidelity BEV model for longitudinal powertrain analysis and drive cycle simulation using Simscape, suitable for performance and thermal efficiency studies.
  • Get Started with the Virtual Vehicle Composer [Doc] — A guided app for configuring, building, and testing virtual vehicles for system-level performance analysis, including fuel economy, battery SOC, and HIL testing.

Educational and Training

  • (New! 2026-04) Electrified Systems Design Engineer Professional Certificate [Online Course] — A MathWorks‑led Coursera Professional Certificate that builds job‑ready skills to model, simulate, and design complete electrified systems—integrating motors, power electronics, and batteries—using Simulink and model‑based design workflows.
  • Online Courses - Automotive [Online Course] — Offers self-paced courses for automotive engineers covering Simulink fundamentals, Stateflow, and MATLAB applications for system modeling and control.
  • ChalmersX: Electric and Conventional Vehicles [Online Course] — Teaches how electric and conventional powertrains work and how to analyze their performance and energy consumption.
  • ChalmersX: Hybrid Vehicles [Online Course] — Focuses on designing hybrid powertrains by combining electric motors and combustion engines to meet modern vehicle requirements.
  • Simscape Onramp [Online Course] — A free, interactive course introducing Simscape for modeling dynamic systems across physical domains using a physical network approach.
  • Building Your Virtual Vehicle with Simulink [Content Collection] — Demonstrates how to build and simulate virtual vehicles using Simulink for use cases like thermal analysis and autonomous driving.
  • Powertrain Reference Applications [Doc, Content Collection] — Provides fully assembled models of internal combustion, hybrid, and electric powertrains for simulation, calibration, and HIL testing.

Examples and Demos

Technical Articles and Presentations

Applications

Powertrain - Electric Motor and Transmission

Highlights

  • MATLAB and Simulink for Motor Drives and Traction Motors [Content Collection] — Provides tools to model, simulate, and implement motor control algorithms for traction motors, including fault detection, autotuning, and hardware-in-the-loop testing.
  • Motor Control Design with Simulink [Content Collection] — Demonstrates how to design field-oriented control systems in Simulink, including PI controller tuning and flux weakening strategies.
  • How to Design Motor Controllers Using Simscape Electrical [Video Series] — Explains how to model BLDC motors, simulate back-EMF, and design speed controllers using Simscape Electrical.
  • What Is Field-Oriented Control? [Content Collection] — Describes the principles and implementation of field-oriented control for PMSM and BLDC motors, including transformations and modulation techniques.
  • What Is BLDC Motor Control? [Content Collection] — Covers trapezoidal and field-oriented control methods for BLDC motors, with modeling, tuning, and code generation workflows.
  • What Is Motor Modeling and Simulation? [Content Collection] — Discusses different fidelity levels of motor models for system design, control development, and traction applications.
  • Powertrain Blockset [Content Collection] — Offers preassembled reference models for gasoline, hybrid, and electric powertrains, with tools for component sizing, calibration, and HIL testing.
  • Developing Virtual Vehicles Using Powertrain Blockset [Presentation] — Shows how to build and parameterize virtual vehicle models using benchmarking data and validate them against real-world measurements.

Educational and Training

Examples and Demos

Technical Articles and Presentations

Applications

Energy - Battery

Highlights

  • MATLAB and Simulink for Battery Systems [Content Collection] — Provides tools for modeling battery cells and packs, designing battery management systems, and simulating thermal and electrical behavior under various operating conditions.
  • What Is Battery Modeling? [Content Collection] — Explains how battery models are used for characterization, SOC/SOH estimation, algorithm development, and real-time simulation, with a focus on equivalent circuit models.
  • Battery Pack Modeling [Doc, Content Collection] — Offers a workflow for designing battery packs using Simscape Battery, including cell configuration, thermal modeling, and integration with BMS and cooling systems.
  • Simscape Battery Essentials [Video Series, Content Collection] — A video series that teaches how to build, parameterize, and simulate battery modules and packs, including SOC estimation, cell balancing, and thermal analysis.
  • Battery Management System (BMS) [Technical Article] — Describes the role of BMS in monitoring, protecting, and optimizing battery performance, including SOC/SOH estimation, cell balancing, thermal management, and fault detection.

Educational and Training

  • Simscape Battery Onramp [Online Course] — A free, self-paced course that teaches how to simulate battery packs and battery management systems using Simscape, including thermal effects and charging algorithms like CC-CV and coulomb counting.
  • Battery Systems: introduction [Course Module] — Covers battery pack design, cell modeling (electrical and thermal), and BMS fundamentals using MATLAB, Simulink, and Simscape, with interactive examples and SoC estimation techniques.
  • Battery Pack Modeling [Online Course] — Offers training on modeling battery packs using the Battery Builder app in Simscape, including cell-to-pack workflows, thermal modeling, and integration of cooling plates.
  • (New! 2025-09) Battery State Estimation [Online Course] - Model Kalman filter-based techniques to estimate battery state using Simscape Battery. Learn to parameterize and tune the Kalman filter for battery state estimation. Estimate the state of charge, state of energy, and state of health to seek optimum performance of the battery pack.
  • (New! 2026-04) Battery Management System Modeling [Online Course] — This course introduces battery management system (BMS) modeling using MATLAB, Simulink, and Simscape, focusing on concepts such as state-of-charge estimation, cell balancing, thermal behavior, and system-level simulation for designing and validating battery systems. [mathworks.com]
  • Developing Battery Systems with Simulink and Simscape [Technical Article] — Explains how Simulink and Simscape Battery support battery system development, from pack design and thermal management to BMS algorithm development and hardware-in-the-loop testing.

Examples and Demos

  • (New! 2025-09) Build Simple Model of Battery Pack in MATLAB and Simscape [Code/Model] — Use Simscape Battery to architect, parameterize, and assemble scalable battery pack models—from cells to modules and packs—for system‑level simulation of electrical and thermal behavior.
  • (New! 2026-04) Build Battery Model from Custom Cell Component [Doc] — Battery pack modeling workflow using custom electrochemical cell components to assemble modules and packs with electrical and thermal fidelity in Simscape Battery.
  • (New! 2026-04) Simulate Battery Using Doyle-Fuller-Newman Model [Doc] — High‑fidelity electrochemical battery cell simulation using the Doyle–Fuller–Newman model to capture lithium‑ion transport, reaction kinetics, voltage response, and internal states in Simscape Battery.
  • (New! 2026-04) Battery Single Particle [Doc] — Single‑particle electrochemical battery cell model capturing solid‑phase lithium diffusion, voltage dynamics, and state‑of‑charge behavior with reduced computational complexity for system‑level simulation.
  • (New! 2026-04) Battery P2D Modeling [Doc] — Physics‑based pseudo‑two‑dimensional (P2D) lithium‑ion battery modeling using PDE Toolbox to capture electrochemical transport, reaction kinetics, and voltage response.
  • (New! 2026-04) Model Battery Performance [Doc] — Multiphysics battery performance modeling using PDE Toolbox to analyze electrochemical behavior, thermal effects, and operating conditions for physics‑based battery analysis.
  • (New! 2026-04) Perform Weighted Parameter Estimation for Single-Particle Battery Model [Doc] — Weighted parameter estimation workflow using Simulink Design Optimization to calibrate single‑particle battery model parameters against experimental data with emphasis on critical operating regions.
  • (New! 2026-04) Predict Battery State of Charge Using Machine Learning [Doc] — Machine‑learning‑based battery state‑of‑charge prediction using data‑driven models to improve SOC estimation accuracy under varying operating conditions.
  • (New! 2026-04) Predict Battery State-Of-Charge Using Time Series Modeler App [Doc] — Battery state‑of‑charge prediction using the Time Series Modeler app with data‑driven system identification, model comparison, and validation workflows for accurate SOC estimation.
  • Battery State of Charge Estimation Using Deep Learning [Doc] — End-to-end MATLAB and Simulink workflow for lithium‑ion battery state‑of‑charge estimation using deep learning, covering requirements definition, data preparation, neural network training and compression, validation, code generation, and deployment for electric vehicle battery management systems
  • Explore Techniques to Estimate Battery State of Charge [Doc] — Demonstrates how to estimate battery SOC using Kalman filtering and Coulomb counting, comparing accuracy and robustness under noisy conditions.
  • Battery Pack Design Solution for Battery EVs in Simscape [Code/Model] — Provides Simscape models for battery pack thermal management, SOC estimation using Kalman filters, and neural network-based temperature prediction.
  • Battery Builder App [Doc] — Offers an interactive interface to design battery packs with thermal effects, visualize 3D geometry, and generate Simscape models for simulation.
  • Estimate Battery Parameters Per Experiment – Coding approach [Doc] — Shows how to estimate battery model parameters using multiple experiments and MATLAB code, including voltage, resistance, and capacity.
  • Estimate Battery Parameters Per Experiment – GUI approach [Doc] — Provides a graphical workflow for estimating battery parameters from charge/discharge experiments using Simulink Design Optimization.
  • Battery State of Charge Workflow – Deep Learning [Doc] — Walks through a deep learning-based SOC estimation workflow including data preparation, training, integration into Simulink, and code generation.
  • EV Battery Cooling System [Doc] — Simulates an EV battery cooling system using cold plates, radiators, and refrigerant loops under drive cycle and fast charge conditions.
  • Parameter Tuning for Digital Twins [Doc] — Explains how to deploy battery parameter estimation workflows for digital twins using Simulink Design Optimization and Simulink Compiler.
  • Reduced-Order Model for Thermal Behavior of Battery [Doc] — Uses finite element analysis and modal decomposition to generate reduced-order thermal models for battery cells during fast charging.
  • Thermal Analysis for New and Aged Battery Packs [Doc] — Compares thermal performance of new and aged battery packs under constant discharge, accounting for resistance and cooling degradation.
  • Protect Battery During Charge and Discharge for Electric Vehicle [Doc] — Demonstrates how to implement protection logic for battery packs during charging and discharging using Simscape Battery blocks.

Applications, Technical Articles, and Presentations

Energy - Fuel Cell

Highlights

  • (New! 2025-09) MATLAB and Simulink for Fuel Cells and Electrolyzers [Content Collection] — Efficient development of fuel cell and electrolyzer applications requires simulation models of adequate fidelity. These models enable you to perform design space exploration, analyze design tradeoffs, and help inform control systems development.
  • Fuel Cell Model [Content Collection] — Describes how fuel cells convert hydrogen and oxygen into electricity and water, and provides modeling tools for different levels of fidelity to support control system development, thermal analysis, and hardware-in-the-loop testing.
  • Hydrogen Electrolyzer [Content Collection] — Explains how hydrogen electrolyzers split water into hydrogen and oxygen using electrical energy, and offers simulation models for electrochemical reactions, thermal management, and integration into green hydrogen systems.
  • Gas Mixture Domain [Code/Model] — A custome Simscape domain designed to handle mixtures of semi-perfect gases with an example of modeling a fuel cell.

Educational and Training

Examples and Demos

  • (New! 2026-04) Fuel Cell Equivalent Circuit [Doc] — Fuel cell equivalent‑circuit block modeling voltage losses, dynamic response, and power behavior for system‑level fuel cell and electrified powertrain simulations.
  • Fuel Cell Vehicle Model in Simscape [Code/Model, Video] — Simulates a fuel cell electric vehicle with a battery and cooling system using Simscape, allowing drive cycle testing and gas species tracking in the fuel cell domain.
  • Fuel Cell–Battery Driven Electric Motor & Hydrogen Transfer [Code/Model] — Models the interaction between a fuel cell and battery supplying an electric motor, including hydrogen transfer thermodynamics and cooling regulation.
  • Fuel Cell [Doc] — Provides a block-level model of a fuel cell stack with configurable fidelity, supporting simplified and detailed electrochemical modeling for simulation and control design.
  • Fuel Cell System [Doc] — Simulates a complete fuel cell system operating under stoichiometric conditions, with real-time simulation capabilities and performance logging.
  • Hydrogen Refueling Station [Doc] — Models a hydrogen refueling station with multi-stage compression, buffer storage, and cooling systems, following SAE J2601 protocols for safe and efficient hydrogen dispensing.
  • PEM Electrolysis System [Doc] — Simulates a PEM electrolyzer that splits water into hydrogen and oxygen, including thermal and gas flow modeling, pressure regulation, and dehumidification.
  • PEM Fuel Cell System [Doc] — Models a PEM fuel cell stack with detailed gas flow, thermal management, and humidification systems, supporting dynamic operation and control development.

Applications, Technical Articles, and Presentations

Electronics

Highlights

  • Power Electronics Simulation [Content Collection] — Enables modeling and simulation of power converters, motor drives, and battery systems using Simulink and Simscape Electrical, supporting controller design, fault analysis, and hardware-in-the-loop testing.
  • MATLAB and Simulink for Power Conversion Control [Content Collection] — Provides tools to model and simulate power conversion systems, design digital controllers, and generate production code for embedded hardware including microcontrollers and FPGAs.
  • MATLAB and Simulink for Electronics Systems [Content Collection] — Supports design and simulation of signal processing, control systems, and embedded electronics, with capabilities for code generation, verification, and integration with hardware platforms.
  • Power Electronics Hardware-in-the-Loop (HIL) Testing [Content Collection] — Describes how to use Simulink and Speedgoat hardware for real-time HIL testing of power electronics controllers, enabling validation before physical prototyping.
  • How to Develop DC-DC Converter Control in Simulink [Video Series, Technical Article] — Demonstrates modeling and control of DC-DC converters using Simulink and Simscape Electrical, including SEPIC topology, PID tuning, efficiency mapping, and code generation for TI microcontrollers.

Educational and Training

  • Introduction to Power Electronics [Course Module] — A 14-week self-paced course covering switching components, AC-DC rectifiers, DC-DC converters, DC-AC inverters, and basic control, with video lectures, quizzes, and simulation problems.
  • Power Electronics Simulation Onramp [Online Course] — Teaches how to simulate power electronics converters in Simscape Electrical, including modeling buck converters at different fidelity levels and implementing closed-loop control.
  • DC Circuit Analysis [Course Module] — Offers interactive MATLAB live scripts and Simscape models for mesh and nodal analysis, Thevenin circuits, RL/RLC circuits, and op-amps, including virtual oscilloscope measurements.
  • Electrical Engineering Virtual Electric Machine & Power Labs [Course Module] — Provides eight virtual labs simulating three-phase systems, transformers, DC motors, synchronous machines, and generators, with lab assignments mimicking real hardware experiments.
  • Circuit Simulation Onramp [Online Course] — Introduces analog circuit simulation in Simscape, covering RC/RLC circuits, op-amps, filters, and fault protection using the physical network approach.
  • Power Systems Simulation Onramp [Online Course] — Guides users through simulating power systems by modeling a microgrid, measuring three-phase circuits, and evaluating control algorithms like droop control and MPPT.

Examples and Demos

Technical Articles and Presentations

Applications

Thermal

Highlights

  • Battery Thermal Management System [Content Collection] — Explains how to model and simulate battery thermal management systems using MATLAB and Simulink, including active, passive, and hybrid cooling strategies, thermal path modeling, and control logic for temperature regulation.
  • Battery Thermal Management System Design [Video] — Demonstrates how to model a battery thermal management system for a small EV using Simscape, diagnose control issues, and analyze energy usage under different operating conditions.
  • Examples in Heat Transfer [Content Collection, Code/Model] — A GitHub repository with MATLAB-based examples for solving canonical heat transfer problems using Symbolic Math Toolbox, PDE Toolbox, and Simscape Fluids, including conduction, convection, and transient heat flow.

Educational and Training

  • Thermodynamics [Course Module] — Offers interactive live scripts that teach thermodynamic principles such as energy conservation, conduction, convection, and transient heat transfer using MATLAB and Simscape.
  • Battery Systems: introduction [Course Module] — Covers battery pack design, cell modeling, and battery management systems using MATLAB, Simulink, and Simscape, including SOC estimation and thermal modeling.
  • Heat Conduction Through Iron Rod [Doc] — Demonstrates how to model heat conduction and convection in a rod using Simscape thermal blocks, comparing lumped and distributed thermal mass models.
  • Heat Transfer in a Thermal Liquid Pipe [Doc] — Shows how mass flow rate, pipe geometry, and environmental conditions affect heat transfer in a thermal liquid pipe using Simscape Fluids.
  • Pressure Loss and Mass Flow Rate in a Thermal Liquid Pipe [Doc] — Explores how pipe friction and elevation changes impact pressure loss and flow rate, using Bernoulli's principle and Simscape simulation.
  • Parameterize a Simple Heat Exchanger [Doc] — Uses the NTU method to compare heat exchanger geometries and fluids, calculating effectiveness and thermal performance in Simscape Fluids.
  • EV Battery Cooling System Design [Doc] — Models a battery cooling system with cold plates, radiators, and evaporators, analyzing heat transfer and coolant behavior under different ambient conditions.

Examples and Demos

Applications, Technical Articles, and Presentations

Vehicle Dynamics

Highlights

  • Longitudinal Vehicle Motion: Simscape Essentials for Automotive Student Teams [Video, Code/Model] — Introduces students to vehicle modeling for competitions like Formula Student using Simscape, including a simple model of a non-driven vehicle braking while descending a slope.
  • Simscape Vehicle Templates [Code/Model, Content Collection] — Provides configurable vehicle models for simulating conventional, hybrid, electric, and fuel cell vehicles, with modular components for suspension, braking, and ADAS testing.
  • Vehicle Dynamics Blockset – Examples [Code/Model, Content Collection] — Offers preassembled vehicle dynamics models for passenger cars, trucks, and motorcycles, including propulsion, steering, suspension, and tire models, with support for Unreal Engine-based 3D simulation.

Educational and Training

Examples and Demos

  • (New! 2026-04) Longitudinal Vehicle Performance Design [Doc] — Interactive Simulink app for defining and validating longitudinal vehicle performance targets such as acceleration, gradeability, top speed, and road-load parameters to support early-stage vehicle design and trade studies.
  • (New! 2026-04) Regenerative and Friction Braking Control [Doc] — Model of blended regenerative and friction braking control for electric vehicles, capturing energy recovery, brake torque allocation, battery state-of-charge effects, and vehicle longitudinal dynamics using Simscape and control logic.
  • (New! 2026-04) Custom Gear Library [Doc] — User-defined spur, helical, bevel, and planetary gear modeling with parameterized geometry, efficiency, losses, and compliance for extending Simscape Driveline gear libraries in detailed drivetrain simulations
  • (New! 2026-04) Tire Manager App [Doc] — Centralized tire data management and parameterization app for creating, importing, validating, and deploying tire models across Vehicle Dynamics Blockset simulations.
  • (New! 2026-04) Reference Path Generator [Doc] — Reference path generation block for creating smooth, time‑parameterized trajectories to support vehicle path following, driver‑in‑the‑loop testing, and automated driving simulations.
  • (New! 2026-04) Fit a Tire Model to Tire Measurement Data [Doc] — Workflow for fitting and validating physics‑based tire models against measured tire test data to improve accuracy in vehicle dynamics simulations.
  • (New! 2026-04) Convert Tire Model for Use in Supported Simulink Block [Doc] — Workflow for converting custom or third‑party tire models into compatible formats for use with supported Vehicle Dynamics Blockset tire blocks in Simulink.
  • (New! 2026-04) Import Tire Measurement Data for Analysis [Doc] — Tire Manager–based workflow for importing, visualizing, and analyzing measured tire test data to support parameter fitting and validation of vehicle dynamics tire models.
  • (New! 2026-04) Estimate Vehicle Drag Coefficients by Coast-Down Testing [Doc] — Coast‑down test–based estimation of aerodynamic drag and rolling resistance coefficients using Simulink Design Optimization for accurate longitudinal vehicle modeling.
  • Model an Anti-Lock Braking System [Doc] — Simulates a single-wheel ABS system using slip-based control logic, mu-slip curves, and bang-bang control to illustrate braking dynamics and optimal friction conditions.
  • Full Vehicle on Four Post Testrig [Doc] — Models a passenger vehicle on a four-post testrig to replicate vertical wheel motion and analyze suspension response, roll, pitch, and wheel hop frequencies.
  • Frequency Response to Steering Angle Input [Doc] — Generates swept-sine steering commands for dynamic steering response testing, useful for ride and handling analysis and chassis control development.
  • Estimate Vehicle Drag Coefficients by Coast-Down Testing [Doc] — Uses coast-down velocity data and parameter estimation to determine aerodynamic, rolling, and fixed drag coefficients based on SAE J1263 standards.
  • Generate Skidpad Test [Doc] — Simulates a skidpad test for Formula Student vehicles, including path tracking, lap time estimation, and visualization of vehicle dynamics in 3D.
  • Double Lane Change Reference Application [Doc] — Simulates ISO 3888-1/2 double lane change maneuvers to evaluate yaw stability, lateral acceleration, and obstacle avoidance performance.
  • Kinematics and Compliance Virtual Test Laboratory [Doc] — Generates suspension parameters using Simscape Multibody and Model-Based Calibration Toolbox, comparing mapped and physical suspension responses.
  • Vehicle Steering Gain at Different Speeds [Doc] — Analyzes steering gain and lateral dynamics using a slowly increasing steering maneuver based on SAE J266, with speed-dependent response evaluation.
  • Vehicle Scenarios with Unreal Engine [Doc] — Integrates Unreal Engine with Simulink for 3D simulation of vehicle scenarios, enabling virtual testing of perception, control, and planning algorithms.
  • Import RoadRunner Scene into Unreal Engine Using Simulink [Doc] — Shows how to import RoadRunner scenes into Unreal Engine for simulation, including semantic segmentation, depth data, and sensor modeling.
  • Vehicle Suspension System Templates [Doc] — Provides templates for double wishbone, MacPherson, and pushrod suspensions, allowing simulation of roll, bounce, and road profile response.
  • Configuring Dynamic Cameras - Vehicle Slalom [Doc] — Demonstrates how to configure dynamic camera views for vehicle slalom maneuvers in Simscape Multibody, enhancing visualization and analysis.
  • Suspension System Comparison [Doc] — Compares different suspension architectures under identical road profiles, analyzing vertical force, camber, and toe angle responses.

Applications, Technical Articles, and Presentations

Optimization and Efficiency

Highlights

Educational and Training

  • (New! 2026-04) Run Multiple Simulations in Parallel [Online Course] — Self-paced course that shows how to speed up analysis and design workflows by running parameter sweeps, Monte Carlo studies, and other simulation workloads in parallel using MATLAB and Simulink.
  • Common Data Analysis Techniques [Online Course] — Teaches how to explore relationships between variables, perform polynomial fitting, and apply linear correlation techniques to extract insights from datasets.
  • Optimization Onramp [Online Course] — Introduces the basics of solving constrained and unconstrained optimization problems in MATLAB, including defining variables, objective functions, and constraints.
  • Machine Learning Techniques in MATLAB [Online Course] — Covers classification and regression methods, model training, and deployment using MATLAB and Simulink, with hands-on exercises and automated feedback.
  • Battery Systems: introduction [Course Module] — Offers foundational training in battery pack design, cell modeling, and battery management systems using MATLAB, Simulink, and Simscape.
  • Design Optimization with MATLAB [Video] — Demonstrates how to use Optimization Toolbox and Global Optimization Toolbox to define and solve design optimization problems across engineering domains.
  • Mathematical Modeling with Optimization [Video Series] — Explains how to transform real-world problems into mathematical programs and solve them using linear, nonlinear, and mixed-integer optimization techniques.
  • Solving Optimization Problems with MATLAB – Master Class with Loren Shure [Video] — A comprehensive master class covering solver-based and problem-based approaches, optimization workflows, and solver selection for various problem types.
  • Linear Programming [Content Collection] — Provides resources for solving linear optimization problems using interior-point and simplex algorithms, with applications in manufacturing, finance, and energy.
  • Nonlinear Programming [Content Collection] — Covers solving nonlinear optimization problems with constraints using algorithms like SQP, trust-region, and interior-point methods.
  • Genetic Algorithm [Content Collection] — Explains how to use genetic algorithms for global optimization, including mutation, crossover, and elitism strategies for solving complex problems.
  • Surrogate Optimization [Content Collection] — Describes how to use surrogate models to approximate expensive simulations and optimize design parameters efficiently.
  • Surrogate Optimization [Video] — Demonstrates how surrogate optimization can solve complex design problems with minimal evaluations using simulation-based models.
  • Integer Programming [Content Collection] — Offers tools for solving mixed-integer linear and nonlinear problems, useful for scheduling, resource allocation, and discrete optimization.
  • How to Use the Problem-Based Optimize Live Editor Task [Video] — Shows how to interactively define and solve optimization problems using the Live Editor, including constraints, objectives, and solver selection.

Examples and Demos

Applications, Technical Articles, and Presentations

Advanced Driver Assistance and Automated Driving Systems (ADAS/ADS)

Highlights

  • ADAS Learning Resources for Students [Content Collection] — Offers a curated set of tutorials, documentation, and videos for students working on ADAS and automated driving projects, covering topics like sensor fusion, path planning, perception, and scenario generation using MATLAB, Simulink, and RoadRunner.

Educational and Training

Examples and Demos

  • (New! 2026-04) Cosimulate Simulink and Eclipse SUMO Traffic Simulator [Doc] — Simulink–Eclipse SUMO co-simulation workflow for automated driving, enabling bidirectional traffic data exchange, dynamic actor spawning, and large-scale urban traffic scenarios for ADAS and autonomous vehicle testing
  • (New! 2026-04) SUMO Traffic Simulation with RoadRunner Scenario [Doc] — RoadRunner–Eclipse SUMO integrated traffic simulation workflow for generating realistic urban traffic, synchronizing RoadRunner scenarios with microscopic traffic flow, and supporting automated driving and ADAS validation in large‑scale road networks
  • (New! 2026-04) Get Started with Euro NCAP Test Suite [Doc] — Test Suite for Euro NCAP® workflow for generating and simulating large sets of driving scenario variants by systematically varying scene, actor, and event parameters to support exhaustive safety assessment and standards-based testing of ADAS and autonomous driving systems.
  • (New! 2026-04) Automatically Label Ground Truth Using Vision-Language Model [Doc] — Automatic image labeling workflow using vision‑language models in MATLAB for accelerating dataset annotation with natural‑language prompts, pretrained multimodal AI, and computer vision training pipelines
  • (New! 2026-04) Automate Ground Truth Labeling for Instance Segmentation [Doc] — Automated instance‑segmentation ground truth generation using pretrained SOLOv2 models to create polygon labels within the Video Labeler app, accelerating dataset annotation and model training workflows
  • (New! 2026-04) Collision Authoring Tool [Doc] — Collision scenario authoring in RoadRunner Scenario for defining precise vehicle‑to‑vehicle impact points, timing‑critical interactions, and safety validation workflows in automated driving simulations
  • (New! 2026-04) Import Scenarios from ASAM OpenSCENARIO XML Files [Doc] — ASAM OpenSCENARIO XML import workflow for RoadRunner Scenario, enabling reuse of industry‑standard driving scenarios, editable actor logic and trajectories, and seamless integration into automated driving simulation pipelines
  • Simulate RoadRunner scenarios with MATLAB and Simulink [Doc] — Explains how to co-simulate RoadRunner scenarios with MATLAB and Simulink, including actor modeling, sensor integration, simulation control, and result analysis using ASAM OSI format.
  • Add sensors to RoadRunner scenario [Doc] — Shows how to define sensor models in MATLAB and add them to vehicle actors in RoadRunner scenarios, enabling ground truth extraction and detection visualization.
  • Autonomous Emergency Braking with vehicle dynamics and Unreal Engine [Doc] — Demonstrates how to simulate an AEB system using a 14-DOF vehicle dynamics model, vision and radar sensors, and Unreal Engine for 3D visualization and terrain interaction.
  • Test Closed-Loop ADAS Algorithm Using Driving Scenario [Doc] — Uses a prebuilt Euro NCAP scenario to test an AEB algorithm in Simulink, integrating sensor fusion, scenario reading, and controller logic in a closed-loop simulation.
  • Automate Ground Truth Labeling Across Multiple Signals [Doc] — Describes how to use the Ground Truth Labeler app and automation algorithms to label camera and lidar data simultaneously, improving efficiency and accuracy in training datasets.
  • Simulate Radar Ghosts Due to Multipath Return [Doc] — Simulates ghost detections caused by multipath reflections in radar systems, using statistical and transceiver models to analyze detection artifacts and improve tracking algorithms.
  • Visualize Automated Parking Valet Using Unreal Engine Simulation [Doc] — Shows how to visualize vehicle motion in a 3D Unreal Engine environment for an automated parking valet system, including costmap generation, route planning, and scene configuration.

Technical Articles and Presentations

Applications

Model-Based Systems Engineering (MBSE)

Highlights

  • Model-Based Systems Engineering [Content Collection] — Provides a unified environment using MATLAB, Simulink, System Composer, and Requirements Toolbox to define system architectures, link requirements, perform trade studies, and validate designs through simulation, enabling a digital thread across the development lifecycle.
  • (New! 2026-04) Interface to access projects in SysML v2 repository [Doc] — Access SysML® v2-compliant remote repositories in System Composer programmatically.

Educational and Training

Examples and Demos

Applications, Technical Articles, and Presentations

Packages

 
 
 

Contributors