I have a Simulink model "mod" with a Subsystem "link" in it, which is actually an active (i.e. "resolved") library link. Inside this linked Subsystem there is a Stateflow Chart "chart".
In Simulink I can search for the Stateflow Chart like this:
find_system('mod', 'FollowLinks', 'on', 'Name', 'chart')
But when I have the model as object "modObj", I can also use its "find" method:
modObj.find('Name', 'chart')
Unfortunately the "find" method does not follow resolved library links by default. Also the documentation does not describe a parameter like "FollowLinks" for "find_system". I already tried using "FollowLinks" and "-followlinks" but without success. Also searches on the net gave no result.
Is there an undocumented parameter for this functionality?
I know that I can use the "find_system" function for the above example. But in fact I am searching for Stateflow objects inside models, which are only found by the "find" method.