How to specify a NULL Bus Object to an S-Function input?

조회 수: 4 (최근 30일)
Jerry Girard
Jerry Girard 2015년 9월 4일
I have created an S-Function that takes a pointer to a bus object for one of its parameters. The parameter is optional. If the pointer address is NULL, then the function changes it's behavior.
I want to create a NULL bus object argument in Simulink to drive the input. I have tried many different things, but I either get build errors or Simulink makes a structure anyway with an address that is not NULL.
How do I specify a NULL input to an S-Function?

답변 (0개)

카테고리

Help CenterFile Exchange에서 Block Authoring and Simulation Integration에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by