An error occurred while calling into the SIL or PIL target connectivity implementation.
52 views (last 30 days)
Show older comments
Hello
I an trying to performe a Processor-In-Loop (Raspberry Pi) simulation for a simple model in Simulink.
I always get this error message (shown in attached picture):
An error occurred while calling into the SIL or PIL target connectivity implementation.
Caused by:
- Invalid Simulink object name: Subsystem
- The block diagram 'Subsystem' is not loaded.
I am not an expert, but here is my workflow :
1) From configuration parameters/solver set automatic solver selection.
2) From configuration parameters/hardware implemention set hardware board as Raspberry pi, and confirm the IP address, username, and password.
3) Form configuration parameters/code generation/interface check contineous time.
4) Form configuration parameters/code generation/verification/create block >> PIL.
5) Treat the subsystem as atomic.
6) Deploy the selected subsystem to hardware, copy the created PIL block to my model, then run the simulation.
Am I missing something?
3 Comments
Azizhan
on 13 Mar 2023
Any Update? I have to deploy this subsystem to the hardware in every openings.
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!