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!