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

expand all

Delete task Plant

Delete the task Plant from the Periodic trigger of the CPU software node of the selected architecture of the model sldemo_concurrent_execution.

sldemo_concurrent_execution
Simulink.architecture.delete('sldemo_concurrent_execution/CPU/Periodic/Plant')

Input Arguments

expand all

Object — Object to delete, specified as a stringstring

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 '/CPU/Periodic/ControllerB']

Data Types: char

Was this topic helpful?