How can I initialise a Data storage block with a comlex bus as data type?

1 view (last 30 days)
I can initialise a data storage block with a bus as datatype to 0 if I write 0 in the initial field. How can I initialise one bus element with another value than 0? I tried to write something like this: [0, 0, 0, 0, 1] But simulink generates a vector, altought it is a bus. My bus looks like this: >element1 >>element11 >>>element111 >>>element112 >>element12 >>>element121 >>>element122 with element1 contains element11 and element12 and element11 contains element111... Why can´t I initialise this element in the data storage block not with another value than 0? Can you help me with this problem?

Answers (0)

Categories

Find more on Modeling in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!