How to Create and Link Simulink Components
Create, link, and manage Simulink® behavioral components and interfaces as part of your top-down architecture design.
Published: 18 Feb 2019
Components in System Composer can have their detailed behavior specified using Simulink. You can do this by either linking a Component to an existing model or by creating a skeleton Simulink model with the same interface as a Component that can be filled in later by the designer.
First let’s create a Simulink Behavioral Model from this Supervisory Computer Main Board component. Select the component then select Create Simulink Behavior. Name the Simulink Model. Notice the name of the Simulink model appears under the name of the component and the Simulink icon appears in the upper right corner of the component
Clicking on the Simulink icon opens the Simulink Model. Notice this model is prepopulated with the interfaces defined in the architecture. These interfaces will be kept in sync so making a change in one model will update the other model.
Add in the Simulink behavior and notice that content preview shows it in the Main Board architecture component.
Now let’s link an existing Simulink Model to a Component in the architecture.
Create the AutoPilot Component then select link to model.
Navigate to the Simulink model you wish to link to the component and select it.
Notice the Simulink Icon and the Simulink Model name now appear on the component and that the components interfaces have been populated from the information in the Simulink Model and are ready to be connected to other components in the architecture.
We have seen how to create a Simulink Model from an Architecture Component and how to link an existing Simulink Model to an Architecture
Featured Product
System Composer
Up Next:
Related Videos:
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)