From: El Mariachi on
Hi,

I'm developping a function that formats blocs colors and shapes for a
simulink model.

I need to be able to identify stateflow blocs. I've found the property
'MaskType' which returns the string 'Stateflow,
(get_param(gcb,'MaskType') ).
Unfortunately we can fake this property cause the MaskType property
can be edited for lots of other blocks and if someone set the MaskType
= 'Stateflow',to another block I'll think the block is a stateflow
whereas it isn't.

So I need a secure way to identify stateflows blocks, but I don't
manage to find a property which is single for stateflows.

Thanks everyone.
From: El Mariachi on
Nobody has an idea?