Use logged signal within Matlab Level-2 S-function

Hi!
Is it possible to use logged signals within Matlab Level-2 S-functions? I need an S-function to run only every 5 s, so that that could be its rate. However, if I use the S-function to log the data, I need to call it at every time step and that slows down the code considerably. Is it possible to use logged signals within the Matlab Level-2 S-function instead?
Thank you in advance for the help!

답변 (0개)

카테고리

도움말 센터File Exchange에서 Simulink Coder에 대해 자세히 알아보기

질문:

2018년 2월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by