Finding Commented blocks programmatically
Show older comments
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.
Accepted Answer
More Answers (0)
Categories
Find more on Event Functions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!