MATLAB: Finding Commented blocks programmatically

comment outcomment throughcommented blocksdelete commented outfind_systemincludecommentedMATLABsimulink

Though find_system can include the commented blocks along with other blocks, is there any way in find_system or get_param to find only the blocks that were commented? (Both Commented-out or commented-through)
cmtd = find_system(model,'FollowLinks','on','LookUnderMasks','all','IncludeCommented','on')
I was trying to delete the commented blocks in a model.

Best Answer

what about adding 'Commented','on' and 'Commented','through' to the find_system() arguments?