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:
Sélectionner un site web
Choisissez un site web pour accéder au contenu traduit dans votre langue (lorsqu'il est disponible) et voir les événements et les offres locales. D’après votre position, nous vous recommandons de sélectionner la région suivante : .
Vous pouvez également sélectionner un site web dans la liste suivante :
Comment optimiser les performances du site
Pour optimiser les performances du site, sélectionnez la région Chine (en chinois ou en anglais). Les sites de MathWorks pour les autres pays ne sont pas optimisés pour les visites provenant de votre région.
Amériques
- 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)
Asie-Pacifique
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)