PowerGUI and Rapid Accelerator: A new block names [...] cannot be added
조회 수: 7 (최근 30일)
이전 댓글 표시
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
답변 (1개)
Govind KM
2024년 9월 17일
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
참고 항목
카테고리
Help Center 및 File Exchange에서 Electrical Sensors에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!