필터 지우기
필터 지우기

Importing enumeration data with simulink signal bus error

조회 수: 1 (최근 30일)
payam
payam 2015년 5월 8일
I am trying to import an array of time series with the same structure as a signal bus in simulink. I have 8 signals of Simulink.NumericTypes and one signal which is an Enum in the form repmat(Boolean.Yes,m,n), i.e a vector of enumeration types. The problem is that i cannot read the enum timeseries no matter what i do, i looked at http://se.mathworks.com/help/simulink/ug/importing-structures-of-matlab-timeseries-objects-for-bus-signals-to-a-root-level-input-port.html and im doing almost exactly the same thing. The problem is not the other timeseries because ive tried and defined the signal bus without the enumeration type and when i do that, i can read the signals as input root into simulink without any problems. Any idea what im doing wrong? The error im getting is "unable to determine bus hierarchy. Verify the first argument is a name of a valid bus object in the base workspace."

답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by