How to programmatically get tunable parameters from real time application.
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Matteo Pellegri
am 28 Sep. 2021
Kommentiert: Matteo Pellegri
am 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!
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/751779/image.png)
0 Kommentare
Akzeptierte Antwort
Diego Kuratli
am 28 Sep. 2021
To get all parameters of the real-time application, you can use this function:
Similarly, to get all signals:
9 Kommentare
Diego Kuratli
am 28 Sep. 2021
Before getApplicationFile was shipped (R2021b), we had an hidden method: getAppFile()
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Target Computer Setup finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!