Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

S-function cause overflow on memory and the embedded program crash

조회 수: 2 (최근 30일)
Alberto Prudhomme
Alberto Prudhomme 2016년 8월 17일
마감: MATLAB Answer Bot 2021년 8월 20일
Hi,
I'm working in a embedded program in simulink and Tiva C launchpad. I'm trying to do an UAV controller with IMU, GPS and Xbee, so I made a s-function block for each sensor. All works fine when I tested separately, but when I tried to use the 3 s-functions in the same model, the program works fine for some time (some cases 5 sec other 2 minutes), but finally the program crash.
I suppose that the cause of the crashing is because the memory overflows or some problem with the memory, because I can't understand how a program can run some time and in some moment get crashed.
I'm totally lost about how to continue checking for solutions.
The code is very large to copy here, but if it's neccesary I can upload it.
Thanks Alberto

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by