Library Function lick_getslobjlist

function oList = lick_getslobjlist(hSys, sType, jExclLibs)

Retrieval utility for Simulink® object lists. The sole purpose for using this getter function is its cache. Whenever <hSys> has changed since last call or the contents of its root system have been modified or <jExclLibs> has changed, the cache is cleared. Otherwise a recent result for type <sType> from the cache is returned, if any, or newly created, returned and cached for future use, otherwise.

<hSys> must be the handle of a Simulink® block or block-diagram or a valid simulink block path.

<sType> must be a string defining the type of objects to search for, valid are 'all', 'block', 'nonblock', and 'diagram'.

<jExclLibs> must be a java.util.HashSet containing strings only. These strings define names of Simulink® libraries that are excluded from the search. A block that references contents of such a library might be part of the search results returned in <oList>, but none of its contents.

The returned object <oList> is of class lick_slobjlist.