Simulink Real-Time

MAJOR UPDATE
Simulink Toolstrip includes buttons to design, build, and control real-time applications.

Build and Run Real-Time Tests with One-Click

Build and run real-time applications from Simulink to Speedgoat in one step. Instrument models with logging, tuning, and visualization during execution.

Portfolio of Speedgoat test systems.

Run Tests on Speedgoat Hardware

Speedgoat real-time systems are designed for Simulink Real-Time. Drag and drop I/O blocks into your model. Supported communication interfaces include CAN, EtherCAT, Modbus, ARINC, SPI, and more.

Detail of copper winding, stack, and shaft of an electric permanent magnet motor.

Test Power Electronics Controls

Emulate power converters, inverters, and electric motor drives with high-switching fidelity. Use FPGA-based workflows to represent the fast dynamics required in power electronics applications.

An engineer sits at a desk working on a computer displaying a Simulink model, with a Speedgoat Performance real-time target machine and connected I/O hardware positioned beside the monitor.

Prototype Controllers with Real Hardware

Evaluate control strategies before the production controller hardware is available. Test designs under real-time conditions and explore multiple architectures without hardware constraints.

Speedgoat test bench racks equipped with battery cell emulator modules and real-time simulation hardware for battery management system HIL testing.

Perform Hardware-in-the-Loop Testing

Integrate and validate embedded controllers with real-time models. Assess controller behavior at the system level and reduce integration issues before physical tests.

Simulink model of a switched reluctance machine.

Emulate Physical Systems

Use Simscape multidomain models to emulate physical systems and components for HIL testing. Achieve higher sample rates with FPGA hardware and HDL Coder.

Simulink test harness showing test sequence and Test Assessment blocks connected to a controller.

Create and Execute Automated Tests

Use Simulink Test to automate desktop simulation testing, including MIL and SIL, and move these tests to HIL execution on Speedgoat hardware for closed-loop controller validation. Manage tests across development stages.

Run HIL Tests Programmatically

Run HIL tests using MATLAB and external APIs. Integrate Speedgoat hardware with continuous integration and continuous delivery (CI/CD) environments and test frameworks for automated, script-driven, real-time validation.

App Designer shows Simulink Real-Time components that can be placed in the Design View.

Build Custom Test Apps

Create test interfaces and operator dashboards with MATLAB App Designer and Simulink Real-Time App Generator. Deploy custom UIs for labs, test benches, and automated workflows using MATLAB Compiler.

“With Simulink, Simscape, and HDL Coder, we can develop plant models and deploy them directly to an FPGA for HIL tests; it’s a no-nonsense, no-compromise way to simulate large-scale power electronics systems.”

Simulink Real-Time FAQs

Simulink Real-Time is used for rapid control prototyping (RCP) and hardware-in-the-loop (HIL) testing, enabling you to create, control, and instrument real-time applications that run on Speedgoat target computers directly from your Simulink model.

Simulink Real-Time works with Speedgoat real-time target computers, which are specifically designed for the product and support I/O blocks and communication interfaces including CAN, Modbus, ARINC, and SPI.

Yes, you can move from desktop simulation to real-time testing with one click without leaving MATLAB and Simulink by configuring your model and building, running, and interacting with the real-time application directly.

You can simulate and test control designs for electric motors, electric vehicles and powertrains, wind turbines, power converters, battery management systems, robots and manipulators, autonomous systems, and other devices.

Yes, you can design apps in MATLAB with App Designer to tune parameters and visualize signals from real-time applications, and deploy them with MATLAB Compiler.

Yes, you can achieve faster sample rates with FPGA technology using HDL Coder, and run Simscape Electrical models on Speedgoat FPGA for switching-level power electronics HIL simulations.

Yes, you can execute automated tests with Simulink Test or use ASAM XIL standard for third-party frameworks, and integrate RCP and HIL tests for CI/CD workflows on Windows and Linux servers.