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 Center および File ExchangeEmbedded Coder Supported Hardware についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by