Documentation

Simulink.architecture.delete

Delete triggers and tasks from selected architecture of model

Syntax

  • Simulink.architecture.delete(Object)
    example

Description

example

Simulink.architecture.delete(Object) deletes the specified object trigger or task.

Examples

collapse all

Delete the task Task3 from the Core2 periodic trigger of the MulticoreProcessor software node of the selected architecture of the slexMulticoreExample model.

slexMulticoreExample
Simulink.architecture.delete('slexMulticoreExample/MulticoreProcessor/Core2/Task3')

Input Arguments

collapse all

Object to be deleted. Possible objects are:

  • Periodic trigger

      Note:   You cannot delete the last periodic trigger. The software node must contain at least one periodic trigger.

  • Aperiodic trigger

  • Task

Example: [bdroot '/MulticoreProcessor/Core2/Task3']

Data Types: char

Introduced in R2014a

Was this topic helpful?