What are the available interfaces and APIs to interact with Speedgoat & Simulink Real-Time as a Standalone Operator in R2020b onwards?

50 views (last 30 days)
What are the available user interfaces and APIs to interact with a Speedgoat target computer and the real-time application running on it in R2020b onwards, without having any MATLAB installation or license on the host computer that is connected to the Speedgoat?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 10 Nov 2025
Edited: MathWorks Support Team on 10 Nov 2025
The following workflows do not require any MATLAB installation or license on the host computer to interact with Speedgoat:
 

1. Standalone SLRT app created with MATLAB Compiler (R2021b+)

The recommended user interface is to create a fully customizable GUI with MATLAB App Designer, which can be compiled and distributed as a standalone executable with MATLAB Compiler. This executable can be deployed to a host PC without a MATLAB installation or license. The end user only needs to install the free MATLAB Runtime.
The deployed app gives the standalone operator access to most features from MATLAB and the MATLAB API for Simulink Real-Time. The app will allow controlling the target & real-time application, updating the target software, parameter tuning & parameter set management, signal monitoring at runtime, as well as recording, importing, and post-processing logged signal data. For more information, see:

2. Access the Speedgoat command line via SSH

Starting from R2020b, Speedgoat target computers support Secure Shell (SSH). This enables any SSH client such as PuTTY to connect to the target computer. The Control-Only Operators can issue a limited set of controls (install, load, start, and stop the real-time application; load a pre-saved parameter set). The same commands can also be executed by connecting a USB keyboard to the Speedgoat. For more information, see:

3. Access the Speedgoat file system via FTP or SCP

Speedgoat target computers support (S)FTP and SCP. Starting in R2021a, there is a supported workflow to copy file log data from the Speedgoat target computer to a host computer without MATLAB. However, note that eventually, you will need to launch MATLAB to import the data in Simulation Data Inspector (SDI) as you cannot view the raw data anywhere else. For more information, see:

4. Exchange data with real-time application via communication protocols 

Speedgoat real-time applications offer built-in support for standard communication protocols such as Real-Time UDP, TCP/IP, and serial communication by placing the appropriate blocks into your Simulink model. For more information, see:

5. Calibrate real-time application via third-party XCP tools

Simulink Real-Time can be used in XCP Server mode to support interaction with third-party calibration tools such as Vector CANape® and ETAS® Inca. For more information, see:
.
Additional notes:
(1) Having a minimal installation of the two products MATLAB and Simulink Real-Time will provide access to more interfaces and testing workflows. See the following MATLAB Answers post for more information: What are the available interfaces and APIs to interact with Speedgoat & Simulink Real-Time as a Test Engineer in R2020b onwards?
(2) The .NET and C APIs (xPCFramework.dll & xpcapi.dll), provided until R2020a for standalone control and instrumentation of Speedgoat targets, are no longer available since R2020b. Please use one of the workflows mentioned above instead.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!