Skip to content

MathWorks-Teaching-Resources/Learning-Engineering-with-GenAI

Learning Engineering with GenAI

View on File Exchange or Open in MATLAB Online

MATLAB Versions Tested

Curriculum Module

Created with R2026a. Compatible with R2026a and later releases.

Information

This curriculum module contains interactive MATLAB® live scripts and Simulink® models that provide exposure to using generative AI within the MATLAB environment.

Background

Learning Engineering with GenAI courseware will feature three interactive scripts. The first script will focus on an introduction to GenAI and large language models (LLMs) in MATLAB. The next script introduces the local GenAI tool in MATLAB (Copilot) and how to make the best use of it. The last script focuses on using Copilot to solve engineering problems.

The instructions inside the live scripts will guide you through the exercises and activities. Get started with each live script by running it one section at a time. To stop running the script or a section midway (for example, when an animation is in progress), use the EndIcon.png Stop button in the RUN section of the Live Editor tab in the MATLAB Toolstrip.

Contact Us

Contact the MathWorks Educator Content Development Team if you would like to provide feedback, or if you have a question.

Prerequisites

This module assumes some general genAI knowledge and basic MATLAB skills. There is some MATLAB knowledge required for these scripts and models, and you could use MATLAB Onramp and Simulink Onramp as resources to acquire familiarity with MATLAB syntax, live scripts, and Simulink models.

Getting Started

Accessing the Module

On MATLAB Online:

Use the OpenInMO.png link to download the module. You will be prompted to log in or create a MathWorks account. The project will be loaded, and you will see an app with several navigation options to get you started.

On Desktop:

Download or clone this repository. Open MATLAB, navigate to the folder containing these scripts and double-click on LearnGenAI.prj. It will add the appropriate files to your MATLAB path and open an app that asks you where you would like to start.

Ensure you have all the required products (listed below) installed. If you need to include a product, add it using the Add-On Explorer. To install an add-on, go to the Home tab and select AddOnsIcon.png Add-Ons > Get Add-Ons.

Products

MATLAB is used throughout this module. Tools from Simulink, Simscape, Simscape Fluids, Symbolic Toolbox, MATLAB Copilot, and Simulink Copilot are used as well. are used as well. If your module uses a product not on this list, you can find it here.

Scripts

GenAIBrain.png
Created with Adobe Firefly
In this script, students will...
$\bullet$ Acquire knowledge of GenAI terminology and classifications
$\bullet$ Identify capabilities and limitations of current GenAI
$\bullet$ Explore ways to access and interact with LLMs and tools in MATLAB
$\bullet$ Implement a local LLM with a tool in MATLAB and analyze its output
Academic disciplines
$\bullet$ All Engineering Disciplines
$\bullet$ Artificial Intelligence
matlab-copilot-blue.svg
In this script, students will...
$\bullet$ Learn the primary features of MATLAB and Simulink Copilot
$\bullet$ Generate code with MATLAB Copilot to solve an engineering problem
$\bullet$ Investigate and analyze a physical model using Simulink Copilot
Academic disciplines
$\bullet$ All Engineering Disciplines
$\bullet$ Artificial Intelligence

CopilotForLearners.mlx (planned)

image_5.svg
In this script, students will...
$\bullet$ Integrate Copilot into learning workflows
$\bullet$ Use MATLAB and Simulink Copilot to assist in solving engineering problems
Academic disciplines
$\bullet$ All Engineering Disciplines
$\bullet$ Artificial Intelligence

License

The license for this module is available in the LICENSE.md.

Related Courseware Modules

image_6.png
Available on:
OpenInFX.png
OpenInMO.png
GitHub
image_9.png
Available on:
OpenInFX.png
OpenInMO.png
GitHub

Or feel free to explore our other modular courseware content.

Educator Resources

Contribute

Looking for more? Find an issue? Have a suggestion? Please contact the MathWorks Educator Content Development Team. If you want to contribute directly to this project, you can find information about how to do so in the CONTRIBUTING.md page on GitHub.

© Copyright 2026 The MathWorks, Inc

About

This interactive courseware module explores how generative AI can solve engineering challenges. Discover how to leverage generative AI to support learning foundational engineering concepts.

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages