Is it possible to run a model containing S-functions with multiple sources in rapid accelerator mode? If so, how can it be done?
이전 댓글 표시
I am currently trying to run a model with an S-function block which has 4 source files. After compiling the S-function to create the mexw32 file, I can successfully run the simulation in both normal and accelerator modes. However, when I try to run the simulation in rapid accelerator mode, the build process fails and the simulation is not carried out. Am I missing any pre-processing step for my S-function? I am not really very saavy in the use of S-functions. I've read about noninline and inline S-functions as well and see there may be a solution by creating a tlc file and wrapping my S-function, but again I have very little experience doing this so I do not know if it is the right path.
답변 (1개)
Madhu Govindarajan
2015년 11월 12일
0 개 추천
You will need to write TLC Files to be able to use Rapid Accelerator mode - http://www.mathworks.com/help/simulink/ug/designing-your-model-for-effective-acceleration.html
Here is a link that can help you get started with writing TLC files - http://www.mathworks.com/matlabcentral/answers/41274-writing-a-tlc-file#answer_50873
카테고리
도움말 센터 및 File Exchange에서 Simulink Coder에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!