Bus X Struct

This example shows how to import Matlab Structs into Simulink by using BusObjects.
Updated 5 May 2011

View License

By configuring BusObjects in the signal type of a constant (might also work for input ports!), Simulink can import structure data from structure variables in workspace.

Only for 2010b and later!!

Cite As

Gustavo Baldo Carvalho (2024). Bus X Struct (https://www.mathworks.com/matlabcentral/fileexchange/31020-bus-x-struct), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Composite Signals in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!


Version Published Release Notes

Better description and improvement of Bus and struct names. Inclusion of Screenshot.