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":http://www.mathworks.com/help/simulink/ug/editing-blocks.html#btms_1lCtrl+Shift+X is the shortcut. Related SolutionsMATLAB: How to comment out Simulink subsystem from Matlab script Suppose your model name is untitled , and you want to comment out the block named Unit Delayset_param('untitled/Unit Delay','commented','on')% to uncommentset_param('untitled/Unit Delay','commented','off') MATLAB: Subsystem in simulink Select blocks for the subsystem, right-click and choose create subsystem Or you can use subsystem block from the Simulink library browserbr Related QuestionAre the referenced subsystems from libraries not remaining lockedWhat is this Simulink block calledSubsystem(Mask)What does the following syntax do
Best Answer