How AI could transform engineering productivity with MathWorks

Artificial intelligence is developing at a remarkable pace, and engineering is among the fields beginning to explore its potential. While much of the public conversation has focused on AI’s ability to generate text, analyse information and write code, its emerging role in engineering could be considerably more significant

For MathWorks, the developer of MATLAB and Simulink, the opportunity lies in integrating AI into established engineering workflows, helping engineers move more efficiently from initial concepts and requirements through to design, simulation and verification.

A central part of this approach is model-based design, which uses mathematical models and simulation to develop and test engineered systems before committing to physical implementation.

“More and more, you want to not test on the actual thing,” explains Jos Martin, senior director of engineering at MathWorks. “Everything you want to do, you want to do in simulation as much as you possibly can.”

The principle is to begin by defining requirements through simulation, progressively developing more detailed models of the system and its operating environment. Once engineers are confident in the design, they can generate code from the model and test it against the original requirements.

This approach helps identify potential problems earlier in the development process, reducing the need for costly changes later on.

It also provides a structured environment for AI agents to contribute. Rather than simply generating code in response to a prompt, agents can increasingly interact with engineering tools, execute tasks and help engineers explore different design possibilities.

A changing engineering workflow

MathWorks is developing its MATLAB and Simulink product environments to accommodate this changing landscape. Its MATLAB Agentic Toolkit, for example, connects AI coding agents to MATLAB through the Model Context Protocol (MCP), allowing them to execute code, run tests and work with MATLAB toolboxes.

The Simulink Agentic Toolkit extends these capabilities into model-based design, providing agents with tools and guidance for working with Simulink models, including design, debugging, and testing.

The objective is to make engineering tools more accessible to AI agents while retaining the established processes and technical foundations engineers depend on.

According to Jos, the implications for how engineering teams spend their time are already becoming apparent.

Rather than spending as much time on implementation, engineers can delegate certain tasks to AI agents and concentrate more heavily on design and verification.

“What we observe internally is that humans now spend more time in design. We spend more time in verification. We spend much less time in implementation,” Jos explains.

This shift could bring significant productivity benefits, although it also changes the nature of engineering work. Defining what a system needs to achieve and verifying that it behaves as intended require considerable concentration and technical judgement.

Jos notes that this can make the work more mentally demanding, placing greater importance on maintaining engineers’ knowledge and competence throughout the process.

Trust remains an engineering responsibility

One of the biggest challenges surrounding AI adoption is trust. Despite the capabilities of increasingly sophisticated systems, AI agents can still make mistakes, and their outputs cannot simply be accepted without scrutiny.

For Jos, however, this is not an entirely new engineering problem.

Engineers have always needed processes to identify and mitigate errors, whether they originate from people or automated systems. The important consideration is having appropriate safeguards in place.

“The agents make mistakes,” Jos explains. “All you need to do is build a system that mitigates the mistakes that we will each make.”

In model-based design, this involves maintaining traceability between requirements, models and implementation, alongside structured testing and verification. Each stage provides an opportunity to identify problems and establish confidence in the resulting system.

MathWorks’ Polyspace product family supports this approach through software analysis and verification capabilities. Its tools can identify programming errors, assess code quality, and help verify critical properties of generated or manually written software.

The company’s wider verification environment also includes MATLAB testing capabilities and Simulink tools for system design and testing.

These established engineering processes become particularly important when AI is involved. The objective is not to assume that an agent will always produce the correct result, but to ensure that its output can be assessed using reliable methods.

Jos believes the role of the engineer will therefore remain central, particularly when defining the original requirements and constraints of a system.

AI agents can follow instructions and generate solutions, but they do not necessarily understand all the considerations that an experienced engineer would instinctively recognise.

When specifying an engineered system, people must identify what it needs to achieve, the limitations it must operate within and how different requirements interact.

This is especially important for larger, more complex systems. While agents can be effective at developing smaller components, Jos is less convinced they can take responsibility for designing entire complex systems independently.

Learning through experimentation

Beyond productivity, one of the more interesting opportunities presented by AI is its potential to support engineering education and knowledge development.

Jos gave the example of how an AI agent could be used alongside MATLAB and Simulink to generate a model of an idealised gearbox.

Starting with an empty folder, the agent was asked to develop a five-speed gearbox with reverse gear and model its general behaviour. Within about five minutes, it produced a powertrain model, including a gearbox, driver, and drive cycle.

Although Jos had limited knowledge of gearbox engineering, the resulting model provided a useful starting point for exploring the subject.

It also highlighted details that might otherwise have been overlooked. For example, the model included a response to a rejected gear-change request when the gearbox was already in its highest gear.

For Jos, this shows how AI can help engineers explore unfamiliar areas and better understand different technical approaches.

“I often use it as a training tool for myself,” Jos explains. “As a companion that helps you understand the space that you’re about to move into, it’s really good.”

The ability to produce prototypes quickly and experiment with different approaches could encourage engineers to explore more possibilities before committing to a particular solution.

For process engineers, this presents an interesting opportunity to investigate modelling techniques, explore system behaviour and develop initial concepts in a more accessible way. However, the resulting models and outputs still need to be assessed against the requirements of the real application.

The next stage of engineering AI

Although the pace of development has been extraordinary, Jos believes the immediate future of AI in engineering will be characterised by incremental improvements rather than a complete transformation of the design process.

The ability to work within structured environments, such as programming languages and engineering models, makes AI particularly useful for tasks with clearly defined rules and constraints.

MathWorks is continuing to develop its agentic capabilities accordingly, including tools that allow AI systems to interact directly with MATLAB and Simulink rather than relying on manual exchanges of code and information.

However, questions around data security, intellectual property, computing resources and the reliability of AI-generated outputs will continue to influence adoption.

There is also a wider organisational consideration. Productivity improvements will depend on how businesses choose to implement the technology. If companies reduce engineering resources without maintaining sufficient time and investment for testing and verification, the benefits could be undermined.

Ultimately, AI is unlikely to remove the need for engineering expertise. Instead, it could change where that expertise is applied, shifting more attention towards defining requirements, making design decisions and ensuring systems perform as intended.

For MathWorks, the opportunity is to combine the speed and flexibility of AI agents with the established mathematical models, simulation environments and verification processes that underpin modern engineering.

As these capabilities develop, the engineers who benefit most may not simply be those who can use AI to produce solutions more quickly, but those who know how to question, test and validate the results.

For more information, visit: www.mathworks.com

Share This Article
Leave a Comment