entity2 bus creates a Simulink block which can be used to convert a SimEvents entity to a bus signal. The bus will have signals corresponding to the attributes in the entity.
bus2entity creates a Simulink block which can be used to convert a bus signal to a SimEvents entity. The entity will have attributes corresponding to the signals in the bus.
These functions do not currently support nested busses.
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.