Hi
Demux is a virtual block and it always returns virtual signals as output. It is not possible to name, rename, or associate “Simulink.Signal” objects with virtual signals.
Adding a type conversion block (or some other similar block for that matter) essentially converts the virtual signal to non virtual signal providing a work around to the above problem.
Attaching a few resources that might help you.
- Nonvirtual and Virtual Blocks
- Signal Types
- ML Answers: why need signal conversion to assign a signal line?
Hope these helps.
Thanks