Importing enumeration data with simulink signal bus error
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Sources finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!