Why do I get an error regarding missing "Simulink Real-Time Add-Ons" when I try to build my Simulink Real-Time model in R2024a and later?

I upgraded to MATLAB R2024a. When I try to build my existing model that I created with a previous release for Speedgoat hardware, I encounter the following error:
Error using slrealtime.internal.build.BuildHooksImpl.setup
    To build model, configure Simulink Real-Time model for target computer platform.
    Open Target Platform Selector and select a target computer platform.
Upon clicking the Target Platform Selector hyperlink, I get the following error:
Error using slrealtime.internal.HardwareConfig.openTargetPlatformSelectorFromLink
    Unable to open Target Platform Selector: No Simulink Real-Time Add-Ons are installed.
    Use Add-On Manager to install a Simulink Real-Time Add-On.
In R2023b and earlier, it was not necessary to install any add-on such as the Speedgoat I/O Blockset just to build a real-time application MLDATX file.

 Accepted Answer

Since R2024a, building real-time application MLDATX files for Speedgoat hardware is no longer possible without a Speedgoat I/O Blockset installation. This is because the new speedgoat.tlc system target file was introduced, and it ships as part of the Speedgoat I/O Blockset. This also means that your existing real-time models must be configured to use 'speedgoat.tlc' instead of the previous slrealtime.tlc system target file.
Follow the steps below to build (and optionally run) a Simulink Real-Time model on a Speedgoat target computer in R2024a and later:
 
1. Install the Speedgoat I/O Blockset which is available for download from the Speedgoat Customer Portal.
In R2025b and prior, you might also be prompted to install the Simulink Real-Time Target Support Package during the Speedgoat I/O Blockset installation if you haven't installed it yet from the MATLAB Add-On Explorer.
2. Update the software on your Speedgoat target computer using:
tg = slrealtime;
tg.update;
.
3. Configure your model for R2024a or later using one of the options from the following MATLAB Answer: How do I configure my Simulink Real-Time model for Speedgoat hardware in R2024a and later?

More Answers (0)

Categories

Community Treasure Hunt

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

Start Hunting!