필터 지우기
필터 지우기

Simulink Error: 'Initial output' of Outport block must be a scalar

조회 수: 32 (최근 30일)
Zangdaarr
Zangdaarr 2015년 1월 27일
답변: Eric Duba 2018년 3월 2일
Hi,
I'm trying to update a model from a 2009b version to 2014b and I have gone through several issues.
Now I got the following error:
[QUOTE]The parameter 'Initial output' of Outport block 'MP89/Train1/yout1' must be a scalar when the Outport block is driven by a bus signal[/QUOTE]
Here's a model picture:
Basically, a lot of bus signal are merged into a last bus creator, then a selector lead only the one I want to the output port. The output port has an initial value set in the form [x1;x2;...;xn].
This was working perfectly, but now I got this error, and I do not really understand what is meant by "scalar". I've got a scalar value for every signal in the bus. And all masked values are set to a numeric value.
Thanks for your help

채택된 답변

Zangdaarr
Zangdaarr 2015년 2월 1일
Seems it is no longer possible to initialize an output port value when it's driven by a bus. You have to select "inherited".

추가 답변 (1개)

Eric Duba
Eric Duba 2018년 3월 2일
Initialization is possible see: Specifing initial conditions for bus signals

카테고리

Help CenterFile Exchange에서 Schedule Model Components에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by