Can a Bus be Used as an Input to a MATLAB System Block?

조회 수: 7 (최근 30일)
Greg
Greg 2013년 9월 9일
I'm playing with the new (R2013b) Simulink "MATLAB System" block, but I can't seem to find any way to connect Bus object inputs to the block. The matlab.system.mixin.Propagates interface seems like it might give me that ability for outputs, but it doesn't have any methods for inputs.
I have a Nonvirtual Bus object definition and everything, I just can't find a way to tell the block to use it (like you could with a MATLAB Function block from the Model Explorer interface).

채택된 답변

Kaustubha Govind
Kaustubha Govind 2013년 9월 9일
Thanks for the great question!
As listed in the MATLAB System Block Limitations - Data Types section, bus types are not supported with the block in R2013b. So, you currently cannot provide a nonvirtual bus input to the block.
Also, you correctly pointed out that the matlab.system.mixin.Propagates class can only be used to define output characteristics of the block. Input characteristics are always inherited from the input signal and need not be specified like for the MATLAB Function block.
  댓글 수: 1
Greg
Greg 2013년 9월 9일
Thanks, that was the documentation I couldn't find.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink Functions에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by