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

14 次查看(过去 30 天)
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?

回答(1 个)

Josh Kahn
Josh Kahn 2023-6-8
编辑:Josh Kahn 2023-6-8
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

类别

Help CenterFile Exchange 中查找有关 System Composer 的更多信息

产品


版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by