An error occurred while attempting to connect to the Rapid Accelerator target for the model 'Project_Rahul'

5 views (last 30 days)
Hello everyone,
I am trying to comiple my current simulation model in Rapid Accelerator mode. The simulink model simulates in Normal and Accelerator mode without any errors. When I try to simulate the model in rapid accelerator mode it throws follwoing error
### Simulink cache artifacts for 'Project_Rahul' were created in 'C:\gui2020b\AcimZF\Project_Rahul.slxc'
An error occurred while attempting to connect to the Rapid Accelerator target for the model 'Project_Rahul': 'ZQBtAHcAbABfAGUAeABwAG8AcgB0AGEAYgBsAGUAXwBkAHkAXwB2ADEANgBkAF8AdgAyADUAMAAxADIAMwAuAG0AZQB4AHcANgA0AAAAQwA6AFwAZwB1AGkAMgAwADIAMABiAFwAQQBjAGkAbQBaAEYAXABaAEIARgBEAGEAdABhAFwAZQBtAHcAbABfAGUAeABwAG8AcgB0AGEAYgBsAGUAXwBkAHkAXwB2ADEANgBkAF8AdgAyADUAMAAxADIAMwAuAG0AZQB4AHcANgA0AAAATABvAGEAZABMAGkAYgByAGEAcgB5AEEAAAA='
I have no spaces in my path.
Reason for simulating in Rapid mode.
I want to create a standlone exe using the app designer. And since the Simulink compilier only runs in the rapid accelerator mode. I have to make my model compatiable to run in rapid accelerator mode.
simulink.compiler.configureForDeployment(in) the following command sets the model to run in rapid mode. If any way to change the simulation mode to normal(for app designer and standlone exe), it will slove all the problems for me.

Answers (1)

Gowthami
Gowthami on 24 Apr 2023
Hello Rahul,
It is my understanding that you are getting an error while attempting to connect to the Rapid Acceleration target for the model.
The Rapid Accelerator mode has some limitations, which may cause it to fail as compared to the Normal and Accelerated modes. To resolve this issue, I recommend you go through the following documentation:

Categories

Find more on Simulation in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!