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 ExchangeSimulink 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