These .NET and C APIs are not available anymore as part of Simulink Real-Time. The reason is that Simulink Real-Time went through a major product update for the R2020b release, and the .NET and C APIs for Simulink Real-Time were deprecated in R2020b as part of this. Customers would have to connect their external platform application (example in C# or Visual Studio) to MATLAB and communicate with Speedgoat through the MATLAB APIs.
Consider one of the following alternative workflows:
(a) MATLAB App Designer:
Starting from R2020b, the recommended way to control applications on Speedgoat is through MATLAB App Designer. The .NET API had a limited number of functions, while with App Designer, you have access to the full MATLAB API for Simulink Real-Time. For an example, see:
If you have a MATLAB Compiler license, you can compile your App Designer GUI as a standalone executable (from R2021b onwards). For more information, see:
(b) Simulink Real-Time ASAM XIL API:
Starting from R2021b, if your goal is automatic testing, you can interface Simulink Real-Time models with test cases from third-party software that supports the ASAM XIL API (e.g. TraceTronic ECU-TEST or Piketec TPT). To use an ASAM XIL simulation workflow for your real-time applications, install the Simulink Real-Time XIL API support package. Follow the workflow in:
The Simulink Real-Time XIL API support package provides an API that lets you use a C# program to control real-time applications on the target computer. For more information, see: