Documentation

Simulink.architecture.add

Add tasks or triggers to selected architecture of model

Syntax

  • Simulink.architecture.add(Type,Object)
    example

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?