PowerGUI and Rapid Accelerator: A new block names [...] cannot be added
8 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I built an electrical simulation in Simulink using Simscape Specialized Technology with fixed-step simulations. The powergui block is in the main system. When I want to run the simulation in Rapid Accelerator mode, it compiles successfully with MSVC++. At the stage "Connect to Rapid Accelerator Process and Simulate" it outputs:
How can I get past that and/or further understand the problem?
(The ultimate goal is to deploy this as a Desktop app, so Rapid Accelerator mode is required)
0 commentaires
Réponses (1)
Govind KM
le 17 Sep 2024
Hi Marten,
I was getting a similar error at the "Connect to Rapid Accelerator Process and Simulate" stage, when simulating my model containing multiple “powergui” blocks in Rapid Accelerator mode. A workaround for me was to simulate the model from the command line using the “sim” function:
mdl = "testModel"; %Replace "testModel" with the name of the required model
open_system(mdl);
%Run simulation in rapid accelerator mode
out = sim(mdl,"SimulationMode","rapid-accelerator");
For more details on the "sim" function, please refer to the documentation provided below:
This issue seems to have been fixed in R2024b, so I would also suggest upgrading to the same.
Hope this helps!
0 commentaires
Voir également
Catégories
En savoir plus sur Electrical Sensors 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!