MATLAB: Comment a block or subsystem in simulink

commentsimulinksubsystem

What is the best way to comment or turn off a subsystem in a simulink block diagram without actually deleting it?

Best Answer

Right-click on it and select "Comment out":
Ctrl+Shift+X is the shortcut.