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

1 次查看(过去 30 天)
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?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Modeling 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by