In R2024a, a new 'speedgoat.tlc' system target file was introduced that ships as part of Speedgoat I/O Blockset. This means your existing real-time models must be configured to use 'speedgoat.tlc' instead of the previous 'slrealtime.tlc' system target file, and that building real-time application MLDATX files is no longer possible without a Speedgoat I/O Blockset installation.
Use one of the following 4 options to configure your Simulink Real-Time model for Speedgoat in R2024a and later:
Option 1: Use 'configureModelForTargetPlatform'
If you have a Speedgoat target connected to your development computer which is configured for R2024a+ with the Speedgoat I/O Blockset, you can use the 'configureModelForTargetPlatform' command:
model = 'myModel';
tg = slrealtime;
tg.configureModelForTargetPlatform(model);
And then save the model. This command ensures the model settings match the current target. See:
.
Option 2: Use 'getSTFName'
If you have a Speedgoat target connected to your development computer which is configured for R2024a+ with the Speedgoat I/O Blockset, you can alternatively use the 'getSTFName' command to have more control over the applied changes:
model = 'myModel';
tg = slrealtime;
modelSTF = getSTFName(tg);
set_param(model,'SystemTargetFile',modelSTF)
set_param(model,'SolverType','Fixed-step');
And then save the model. See the following link for more information:
.
Option 3: Apply model settings manually
Apply the settings manually in the Model Settings:
- Under Solver > Solver selection, set 'Type' to 'Fixed-step'
- Under Code Generation > Target selection, set 'System target file' to 'speedgoat.tlc'.
The programmatic equivalent to this would be:
model = 'myModel';
set_param(model,'SystemTargetFile','speedgoat.tlc')
set_param(model,'SolverType','Fixed-step');
.
Option 4: Use the Speedgoat Target Platform Selector tool
You can also launch the Speedgoat Target Platform Selector tool from the REAL-TIME tab in your model as shown in the screenshot below:
Currently, the changes to the model settings are identical, no matter which Speedgoat real-time target machine (Baseline, Performance, etc) is selected. This may change in the future. For any further questions regarding the Target Platform Selector tool, refer to the knowledge article below, or reach out to the Speedgoat support team: