How do I find best practices for modeling buses for simulation and code generation using Real-Time Workshop Embedded Coder?

1 view (last 30 days)

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 18 Apr 2023
Edited: MathWorks Support Team on 19 Apr 2023
A document on best practices for modeling buses for simulation and code generation can be found at the link below. Basic guidelines covers topics such as bus diagnostics, virtual buses, multi-rate buses, setting the initial value of bus signals, extracting non-virtual bus signals inside atomic subsystems, virtual bus signals crossing atomic boundaries, and arrays in buses. Advanced topics include initializing data with persistent information, working with bus arrays and reusable subsystems, and building bus arrays in reusable subsystems.
Note that MathWorks does not guarantee or warrant the use or content of MATLAB Central submissions. Any questions, issues, or complaints should be directed to the contributing author.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!