Simulink Real-Time API for Microsoft .NET Framework @ 2020b

10 visualizaciones (últimos 30 días)
Dear community
We were trying to design an C# app to interact with a Speedgoat HIL sytem. We already knew that Mathworks will remove simulink real time explorer so we tried app designer but we find it easier to code with C#.
But we've found out that 2020b does not include an API to program such an custom interface. Instead Mathworks offers App Designer which has less features and hard to code with respect to Visual C#.
So:
1- What's Mathworks suggested workflow instead of using SLRT .net API?
2- Is it possible for Mathworks to add this API to 2020b or later versions?

Respuesta aceptada

Diego Kuratli
Diego Kuratli el 20 de En. de 2021
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.
It is possible to create GUIs with few lines of code with App Designer, as shown in this video:
In R2020b, you can still design your GUI in C# and other languages, by using the MATLAB External Language Interfaces, which can call the MATLAB API for Simulink Real-Time:
This workflow requires MATLAB and Simulink Real-Time in the host computer (this is a new license model introduced with R2020b: Simulink and coders are no longer required if you don't need to modify/build real-time applications).

Más respuestas (1)

Stefanie Schwarz
Stefanie Schwarz el 19 de Oct. de 2021

Productos


Versión

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by