I've built a Simulink model and I would like to 'Comment Through' some blocks via a MATLAB script. I am using MATLAB 2013b.
I know that the command set_param('BlockAddress','Commented','on') comments out the block from the simulation, but that's not the same thing.
Instead of the string 'Commented' in the set_param code, I was hoping to find a block property that defines the 'Comment Through' state, but I could not find it in MATLAB's Common Block Properties page.
Does anyone know if such property is defined, or, if not, a different work-around to comment through blocks by using a script?