Zero crossing detection with level-2 M s-functions

I know that level-2 M s-functions do not support Zero-crossing detection. Do you know if there is a work-around procedure in order to be able to do that anyway? For instance, by means of a specific external block that reads an s-function output... I don't know.
Thank you very much.
Marco Leonesio

댓글 수: 1

Interesting question. Try using the Hit Crossing block at the output and check the "Enable zero-crossing detection" box on its dialog. Does that do the job for you?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

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

제품

질문:

2011년 9월 21일

Community Treasure Hunt

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

Start Hunting!

Translated by