Main Content

getAllBlockWithStorages

Class: simevents.SimulationObserver
Package: simevents

Get list of blocks that store entities

Syntax

getAllBlockWithStorages(obj)

Description

getAllBlockWithStorages(obj) is a utility function that returns the paths of all blocks that store entities.

Input Arguments

expand all

Object of class SimulationObserver

Output Arguments

expand all

Cell array of all blocks that store entities, provided as full block paths.

Examples

expand all

Return the paths of all blocks that store entities.

function blks=getBlocksToNotify(obj)
   blks=getAllBlockWithStorages(obj);
end
Introduced in R2016a