Simulink Real-Time API for Microsoft .NET Framework @ 2020b
6 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
采纳的回答
Diego Kuratli
2021-1-20
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).
0 个评论
更多回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Automated Testing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!