Main Content

Simulink.architecture.delete

Delete triggers and tasks from selected architecture of model

Description

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

example

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.

openExample("simulink_features/AssigningTasksToCoresForMulticoreProgrammingExample"); 
Simulink.architecture.delete('slexMulticoreExample/MulticoreProcessor/Core2/Task3')

Input Arguments

collapse all

Object to be deleted, specified as a character vector. 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

Version History

Introduced in R2014a