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!