Writing s-functions to be used in real time environmnets

조회 수: 2 (최근 30일)
Purushottama Rao
Purushottama Rao 2015년 5월 5일
댓글: Purushottama Rao 2015년 5월 5일
A model is available with me which is built such as to generate code using RTW to run on specific target. Iam tracing out now how various functinalities have been implemented in it. While goig through, i came across several s-fucnctions. I have a theoritical idea of s-functions.
Can any one help me how to decide that a particular place deserves an s-function? I dont have any programs already written in other langauges. What does mdlRTW method do inside an s-function? is it for inlining the s-function?
  댓글 수: 1
Purushottama Rao
Purushottama Rao 2015년 5월 5일
s-functions are written for a) finding out processor load b) loading xml files which contains data for the model c)interfacing the code with the application written in windows..etc.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink Coder에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by