When I call the function find_system() to find the blocks of particular mask type, in R2009b returns the expected value. However 2012b hangs in certain stage (seems it's involved in infinite recursive call). Any clue is appreciated.
I'm a calling find_system() for a particular s-function block. While doing so the Mask_Initialization of that s-function is getting called. The mask_Initialization also contains the function function_system() to find the same s-function block. Hence it involves in recursive call. This recursive call occurs in R2009b as well. However it returns after certain iteration. However it hangs in R2012b.