- Tune parameters using MATLAB command lines
- Tune parameters using the Simulink model as a user interface to the real-time application running on your target machine
- 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)
Manipulating Parameters real-time in SpeedGoat
17 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
采纳的回答
Dimitri MANKOV
2022-3-28
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:
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
0 个评论
更多回答(1 个)
hilal
2025-9-24,12:18
I am currently running real-time simulations in MATLAB Simulink, and I would like to modify certain parameters while the model is running. For example, I would like to manipulate the values of some Constant blocks during execution.
When I configure these parameters as tunable in the model settings, the displayed value of the block changes as expected. However, the signal output from the block continues to hold its previous data, without reflecting the new value. Additionally, when I attempt to apply changes directly from the MATLAB workspace, the modifications are not accepted. Is this same problem with yours? If you could solve, could you share solution with me?
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Target Computer Setup 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!