Changing the Sample Time of a C-MEX s-function block in time simulation
情報
この質問は閉じられています。 編集または回答するには再度開いてください。
古いコメントを表示
I would like to change the SampleTime of a C-MEX Function Block in time simulation, I've read that it is impossible. I'm trying to find a workaround for this feature using a C-MEX async interrupt block. If I do that, is it possible to recalculate and update the C-MEX async block in simulation time?
Thank's!
Janio Gabriel
0 件のコメント
回答 (1 件)
Kaustubha Govind
2011 年 8 月 10 日
0 投票
Are you using a variable-step solver? If yes, you may find the Variable Sample Time C-MEX S-function example useful.
0 件のコメント
この質問は閉じられています。
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!