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

1 visualización (últimos 30 días)
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?

Respuestas (0)

Categorías

Más información sobre Modeling en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by