Bus X Struct
Version 1.1.0.0 (11.4 KB) by
Gustavo Baldo Carvalho
This example shows how to import Matlab Structs into Simulink by using BusObjects.
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 LinuxCategories
Find more on Composite Signals in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.