Set Model Callbacks with Simulink Block

조회 수: 1 (최근 30일)
Marcus Heßeling
Marcus Heßeling 2021년 5월 18일
Hey Guys
i want to set Model Callbacks of my Simulink Model with a Simulink bock. I want to make a body-Collision Library. To check for Body Collision, i use the InitFcn and StopFcn to detect body collision. If its possible i want to add a block to my library that automatically sets the InitFcn and StopFcn if i place it in a Simulink model.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Model, Block, and Port Callbacks에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by