Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Simulink.architecture.add

Add tasks or triggers to selected architecture of model

Syntax

Simulink.architecture.add(Type,Object)

Description

example

Simulink.architecture.add(Type,Object) adds the new task or trigger Object of the specified Type to a model.

Examples

collapse all

Add a task, MyTask1, to the software node MulticoreProcessor of the selected architecture of the slexMulticoreExample model.

slexMulticoreExample;
Simulink.architecture.add('Task','slexMulticoreExample/MulticoreProcessor/Core2/MyTask1');

Input Arguments

collapse all

Object type that identifies the kind of trigger or task to add, , specified as a 'PeriodicTrigger', 'AperiodicTrigger', or 'Task'.

Trigger or task object identifier to add to architecture, specified as a character vector.

Example: 'slexMulticoreExample/MulticoreProcessor/Core2/MyTask1'

Data Types: char

Introduced in R2014a

Was this topic helpful?