When I generate code for my model using Real-Time Workshop 7.2 (R2008b), no-op code is generated (due to dead-code elimination). I would like to preserve the output signal from my model in the generated code.
MATLAB: How to prevent Real-Time Workshop 7.2 (R2008b) from generating no-op code for the model
codedeadeliminatenoopoptimizesimulink coder
Related Question
- Do I receive a runtime error when I run the executable for a relatively large scale Simulink model generated using Real Time Workshop 6.0 (R14)
- Does the testpoint signal appear twice in the rtwCAPI_Signals structure when generating code using Real-Time Workshop 7.2 (R2008b)
- How to build an S-function with tunable parameters from the MATLAB Command-Line using Real-Time Workshop 7.2 (R2008b)
- Is the file “ext_tcpip_transport.c” missing from the Real-Time Workshop 7.2 (R2008b) documentation “Creating an External Mode Communication Channel”
- Is code not generated for a subsystem which has an Infinite sample time in Real-Time Workshop 7.3 (R2009a)
- Am I unable to select the parameters as tunable when I generate an S-Function from the subsystem in Real Time Workshop 7.3 (R2009a)
- Can I speed up the Simulink simulations using Parallel Computing Toolbox 4.0 (R2008b)
Best Answer