Additional Information When you adjust the parameters after code generation, you generate the code as a variable, not a constant (literal). Access the website of The MathWorks Inc. or refer to the Simulink PLC Coder User’s Guide that is provided by The MathWorks Inc. for the setting procedure. 24 4 Select the Generate testbench for subsystem check box. 5 Click the Apply Button. 6 Click the Generate Code Button. 7 The PLCCoderDemoMC.xml file is saved into the plcsrc folder specified in Code Output Directory.