How to programmatically get tunable parameters from real time application.
3 views (last 30 days)
Show older comments
Matteo Pellegri
on 28 Sep 2021
Commented: Matteo Pellegri
on 28 Sep 2021
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 Comments
Accepted Answer
Diego Kuratli
on 28 Sep 2021
To get all parameters of the real-time application, you can use this function:
Similarly, to get all signals:
9 Comments
Diego Kuratli
on 28 Sep 2021
Before getApplicationFile was shipped (R2021b), we had an hidden method: getAppFile()
More Answers (0)
See Also
Categories
Find more on Target Computer Setup in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!