Error: Cannot propogate bus signal from output 1 to input 5
조회 수: 61 (최근 30일)
이전 댓글 표시
I keep getting this error when I try to run a simulation with a model reference. The signal is created by a subsystem which then transmits the signal to model reference. I created this signal (bus) in the base workspace using the bus editor so the model reference can see it but I keep getting this error when I run the simulation. I have checked many times to make sure the signal in the bus editor and the real one match up and they do!
댓글 수: 0
채택된 답변
Kaustubha Govind
2012년 7월 23일
Have you set the bus object (in the workspace) as the input datatype for the corresponding port inside the referenced model?
댓글 수: 5
Kaustubha Govind
2012년 7월 25일
Yes, you could program the test harness model's PostLoadFcn callback to run your script that creates/loads the Bus objects. See Model Callbacks for more information.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Sources에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!