How to programmatically get tunable parameters from real time application.

10 vues (au cours des 30 derniers jours)
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!

Réponse acceptée

Diego Kuratli
Diego Kuratli le 28 Sep 2021
  9 commentaires
Diego Kuratli
Diego Kuratli le 28 Sep 2021
Before getApplicationFile was shipped (R2021b), we had an hidden method: getAppFile()
Matteo Pellegri
Matteo Pellegri le 28 Sep 2021
Awesome! That did the trick!
Thanks a lot!

Connectez-vous pour commenter.

Plus de réponses (0)

Produits


Version

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by