function deployedScript(variantControl)
 in = Simulink.SimulationInput('sldemo_variant_subsystems');
 in = in.setVariable('VSS_MODE',variantControl);
 in = simulink.compiler.configureForDeployment(in);
 out = sim(in);
 plot(out.yout);
end