Raspberry PI Simulink Support Package problems with running standalone application

1 view (last 30 days)
I want to run standalone applications on few RPI which would communicate using UDP. For testing i tried to create simple communication loop with one RPI (lets call it "loop-device") receiving and sending back one value and second RPI ("monitor") sending this value, receiving anwser from "loop device" and displaying it. If i run them both in External mode from Matlab, the loop works well. But when i try to execute "loop-device" model from RPI system directly (via terminal) from '<model name>'/MW folder i see high CPU usage on model process (also information in terminal that model started, same as when running in External mode on PC) but without any other effects and second device running in External mode doesn't receive response from "loop-device". When i run model in External mode, i don't see any excessive usage of CPU on RPI.
What is the proper procedure to run standalone applications created by Simulink or how to build one, if applications created by Simulink can't be used as standalone?

Answers (0)

Community Treasure Hunt

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

Start Hunting!