Manipulating Parameters real-time in SpeedGoat

11 vues (au cours des 30 derniers jours)
Leonid Guerchkovitch
Leonid Guerchkovitch le 25 Mar 2022
Hello,
I would like to have the ability to manipulate parameters (workspace or otherwise) when my simulation is running on a Speed Goat xPC. The requirement is to manipulate these live to support interface debugging with another PC.
Is there a standard procedure or accepted method for doing this?

Réponse acceptée

Dimitri MANKOV
Dimitri MANKOV le 28 Mar 2022
Hi Leonid,
Do you mean the parameters of the various blocks in your Simulink model? If so, there are several convenient ways to do this:
  1. Tune parameters using MATLAB command lines
  2. Tune parameters using the Simulink model as a user interface to the real-time application running on your target machine
  3. Tune parameters using the Simulink Real-Time Explorer (note that this version of the Explorer is deprecated in R2020b, so it might not be the best long-term solution)
In case you decide to go with the first approach, note that you can integrate these commands in a custom UI that you can create using App Designer.
Best,
Dimitri

Plus de réponses (0)

Produits


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by