Main Content

System Configuration

Development and target computer configuration, target computer boot method, confidence test

Configure the environment for real-time applications by connecting a development computer to a Speedgoat® target computer that meets your requirements: form factor, performance, I/O interface, and protocol interface.

Connect the target computer to your physical system, also called the device under test.

After you have set up the target computer system, you can create real-time applications from Simulink® models on the development computer. You can then build, download, and run these real-time applications on the target computer system via the Ethernet link.

To build, download, and run a real-time application from a development computer, configure the development computer CPU and peripherals. To create the real-time application, install the Simulink Real-Time™ software. To download the real-time application to the target computer and communicate with the application, configure an Ethernet TCP/IP interface.

To run a real-time application on a target computer, first configure your target computer with the required I/O modules and Ethernet ports. Physically connect it to the development computer with a TCP/IP Ethernet link. Configure the Simulink Real-Time target settings with Simulink Real-Time Explorer or MATLAB® language. Finally, build and download the real-time application to the target computer.

Functions

expand all

slrtExplorerOpen Simulink Real-Time explorer and interact with target computers and real-time applications
slrtLogViewerOpen the Simulink Real-Time System Log Viewer tab in the Simulink Real-Time Explorer to view the console log from the target computer
slrtPerformanceAnalyzerOpen Simulink Real-Time Performance Analyzer (Since R2026a)
slrtTETMonitorOpen Simulink Real-Time task execution time (TET) monitor
slrtAppGeneratorGenerate instrument panel app to interact with target computer and real-time application running on target computer (Since R2022a)
configureModelForTargetPlatformConfigure model to build for selected and connectable target computer (Since R2024a)
getSTFNameGet system target file name for selected and connectable target computer (Since R2024a)
mexBuild C/C++ MEX functions
slrealtimeInterface for managing target computer
addTargetAdd target computer definition to Targets object
removeTargetRemove target computer definition from targets object
getTargetSettingsGet target computer environment settings
getDefaultTargetNameGet default target computer name
getTargetTimeGet target computer date and time (Since R2025a)
getTargetTimezoneGet target computer time zone information (Since R2025a)
replaceTargetReplace a target object assignment to a target computer definition in a Targets object (Since R2026a)
setDefaultTargetNameSet default target computer name
setipaddrSet IP address and netmask on the target computer
setTargetTimeSet target computer date and time (Since R2025a)
setupTLSCertificateSetup TLS certificate file for HTTPS and other protocols (Since R2026a)
setTargetTimezoneSet target computer time zone preference (Since R2025a)
isConnectedGet target computer connected status (Since R2021b)
isLoadedGet real-time application loaded status (Since R2021b)
isRunningGet real-time application running status (Since R2021b)
resetReset target object (Since R2021b)

Objects

TargetRepresent real-time application and target computer status
TargetsConfigure and manage target objects
TargetSettingsConfigure setting values for target computers (Since R2026a)
InstrumentCreate real-time instrument object
slrealtime.instrument.LineStyleCreate real-time instrument LineStyle object (Since R2022b)

Properties

Target Object Propertiesslrealtime Target object properties for configuration and status

Apps

Simulink Real-TimeGenerate real-time applications for simulations that run on a target computer and interface with I/O devices in the target computer
Simulink Real-Time ExplorerInteract with target computer and real-time application running on target computer
Simulink Real-Time TET MonitorObserve task execution time for the real-time application running on target computer
Simulink Real-Time App GeneratorGenerate instrument panel app to interact with target computer and real-time application running on target computer (Since R2022a)

Tools

Simulation Data InspectorInspect and compare data and simulation results to validate and iterate model designs

Development Computer Setup and Configuration

Development Computer Requirements

Configuring the CPU, peripherals, and Ethernet interface of the development computer.

Enable Development Computer Communication (Windows)

Configure a Windows® development computer to communicate with the target computer via Ethernet.

Enable Development Computer Communication (Linux)

Configure a Linux® development computer to communicate with the target computer via Ethernet.

Install Development Computer Software

Installing Simulink Real-Time on the development computer.

Target Computer Setup and Configuration

Configure Target Computer Settings by Using Simulink Real-Time Explorer

Configure the Simulink Real-Time environment as required by the target computer. Speedgoat target machines support PCI bus Ethernet cards.

Configure Target Computer Settings by Using MATLAB Language

Use a TargetSettings object to create a Target object.

Set Up Target Computer Ethernet Connection

Set up the Ethernet card for a PCI target computer.

Real-Time Application and Target Computer Modes

Run real-time applications by using the target computer in connected mode, standalone mode, or external mode. Speedgoat target machines boot the Linux-based RTOS and then you run real-time applications in the selected target computer mode.

Target Computer Status Monitor

Monitor standalone real-time applications with the target computer status monitor application.

Interfaces that Configure and Control Target Computer

Configuring and controlling Simulink Real-Time interactively and by writing scripts and programs.

Target Computer Update, Reboot, and Startup Application

Use Simulink Real-Time Explorer for target computer operations, including update software, reboot, and select startup application.

Target Computer Operations

Simulink Real-Time Interfaces to the Real-Time Application

Select interface that matches your Simulink Real-Time workflow.

Simulink External Mode Interface

Controlling the real-time application from a Simulink model in external mode.

Simulink Real-Time Command-Line Interface in MATLAB

Configuring and controlling the target computer and real-time application from the development computer.

Target Computer Command Line

Controlling the real-time application from the target computer command line.

Visualize Signals in Simulink Real-Time Models

Tracing signals with Simulink Real-Time Scope blocks.

Application and Driver Scripts

Examine models and scripts that illustrate Simulink Real-Time features.

Speedgoat Target Computer Support

Speedgoat provides target computers that are expressly designed to support Simulink Real-Time.