Problem in using S- function builder

조회 수: 1 (최근 30일)
hana
hana 2014년 7월 18일
답변: KDN 2015년 3월 21일
I faced problem with development our AP(Autopilot) using MPC555, actually I had logical problem in our Navigation Block, So I used S function builder to handle the NAV Block, but I shocked that new problem occur which is the System will restart after period of time when I turn on it and enable the Navigation part.
I have confused at some points:
1- Same used Code of NAV at the S- function builder will cause the restart of the system, but the m- function will not, why may this happened ?
2- Same Code of NAV using m- and S- function will generate different result, is it possible? Or may something is going wrong?
3- What are the differences between persistent variable at m- function with Static variable at the S- function?
4- Is it overhead to define long matrix with persistent or static property?
5- I notice that when I use the Static variables in S- function to save waypoints the restart problem will occur very early, why ? is there any reason for this?
6- What are the major differences between the S-function builder and m-function? Specially for target support processor development. Which one is the recommended function?
Any help please,

답변 (1개)

KDN
KDN 2015년 3월 21일
Hello is yours problem get solved , I am also facing same problem

카테고리

Help CenterFile Exchange에서 Embedded Coder Supported Hardware에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by