Simulink Modell - Run on Boot
조회 수: 3 (최근 30일)
이전 댓글 표시
Hello Everyone, i got a question i cant solve by my own and i wanted to know if some one faced the same Problem i did.
Context:
I need to deploy a Simulink Modell on a Raspberry Pi 2B+ which first does not work but now it works.
Because i want the modell to run on every reboot of the System, i clicked the check box "run on boot".
This actually does the job, i can see the process running and also see the results on my RC-Car.
The Raspberry is connected via. CAN to a Arduino and the communication is working...
Problem:
How ever this only works if i deploy, and start the Modell directly out of Simulink.
Then the CAN Connection is working perfectly doing all the jobs it should.
But when i reboot the system, the modell starts as it should, but the CAN Communication terminates after 20 seconds.
The CAN Communication is not the problem i guess because its not deployed over Simulink i use a different Bibliothek and alsi the Process is running.
What i dont understand is, why is it perfectly working after i "press deploy and start" but will fail after an reboot when "run on reboot" is activatet.
Did someone faced a simular problem?
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Raspberry Pi Hardware에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!