what is the difference between simulink architecture model and software architecture model

18 views (last 30 days)
To create a new simulink model, on Simulink start page -> New -> System Composer there are two templates available, Architecture Model and Software Architecutre Model.
What ist the different between the both?

Answers (1)

Josh Kahn
Josh Kahn on 8 Jun 2023
Edited: Josh Kahn on 8 Jun 2023
That is a great question! System Composer's standard Architecture Template is geared toward generic architecture design (such as logical, functional, or physical, or even more!) whereas the Software Architecture Template is geared toward building software architectures.
There are more features in the software architecture template with code generation in mind such as support for export function-style modeling, client-server communications, viewing class diagrams of the architecture, and a schedule editor and functions editor for controlling execution order.
Both templates support Stereotypes, Views, Analysis, Allocations, and Sequence Diagrams so the decision for which template to use comes down to:
  1. Whether or not you use export function-style modeling, and/or
  2. You intend to generate and compile code from your architecture model.
Here are some references. Please don't hesitate to ask if you have any other questions!
Use a System Composer Architecture Model to describe systems as a combination of structural elements with underlying behavioral descriptions. Use a Software Architecture Model to easily define the execution order of your functions from your components, simulate your design in the architecture level, and generate code by linking your Simulink export-function, rate-based, or JMAAB models to components.
For more information about software architecture models, see Author Software Architectures.
Regards,
Josh

Categories

Find more on System Composer in Help Center and File Exchange

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!