How to programmatically get tunable parameters from real time application.
3 次查看(过去 30 天)
显示 更早的评论
Hello everyone,
I recently started using Matlab 2020b real-time on a SpeedGoat target. In the past, I used an external application to connect to the target machine and tune parameters (and scope signals) using the APIs provided by Matlab. From 2020b this is not possible anymore from what I understand reading the documentation. I started developing an app in Matlab to emulate our obsolete C# app.
With this app I would like to get a list of all the tunable parameters in the Application running on the target machine, which should be equivalent to following the procedure indicated in the figure below (slrtExplorer).
I cannot find the functions to do so. The closest thing I was able to get to is the function getParameter, but I think that works only on the development computer.
Any help is much appreciated!
0 个评论
采纳的回答
Diego Kuratli
2021-9-28
To get all parameters of the real-time application, you can use this function:
Similarly, to get all signals:
9 个评论
Diego Kuratli
2021-9-28
Before getApplicationFile was shipped (R2021b), we had an hidden method: getAppFile()
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Target Computer Setup 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!