How to programmatically get tunable parameters from real time application.
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Matteo Pellegri
le 28 Sep 2021
Commenté : Matteo Pellegri
le 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 commentaires
Réponse acceptée
Diego Kuratli
le 28 Sep 2021
To get all parameters of the real-time application, you can use this function:
Similarly, to get all signals:
9 commentaires
Diego Kuratli
le 28 Sep 2021
Before getApplicationFile was shipped (R2021b), we had an hidden method: getAppFile()
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Target Computer Setup dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!