Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Fixed step call to mex file and continous block

조회 수: 1 (최근 30일)
Lila Lotus
Lila Lotus 2020년 9월 11일
마감: MATLAB Answer Bot 2021년 8월 20일
Dear all,
I have a mex function which MUST be called exactly every simulated millisecond.
This mex block is instantiated in a simulink model, whcih has continues blocks (like 1/s, PT1) ...
If I select fixed step solver, then the the whole simulink model is fix step and I get a error, that continues functions are used.
If I select euler1 solver or other one, how do I guaranty that mex function is call exactly every milisecond. (exactly means, for example 1ms +/- certain N nanosec)
What is the best approach to have a fix type mex inside of continues model.
Thank you!

답변 (0개)

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by