Filter löschen
Filter löschen

Importing enumeration data with simulink signal bus error

1 Ansicht (letzte 30 Tage)
payam
payam am 8 Mai 2015
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."

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by