title: SIMULINK - Ignoring Scope Block when using Embedded Code Generation
body: <p>I have got some inputs in my model that are passed through the <em>environment controller</em> block. In this way, I can use test inputs (fixed or configurable parameters) in simulation and the top-level input ports for Embedded Code Generation. However, I need to check the outputs of my model (after simulation) on a scope. </p>
  
  <p>I was hoping that there is way I can use something similar to environment controller block in order to ignore scope blocks when I generate code. In this way, I can still view my outputs but not worry about any unnecessary blocks getting error-flagged during code generation checking. Is there any way to do it or is it "Automatically" ignored when generating code. Has anyone come across this?</p>
  
  <p>KR,</p>