In my model, I set two signals as test points. When I proceed to generate code, the code is as expected. When I change one of the subsystems in the model to 'Atomic', I seem to observe some extraneous code generated (see below). Why does this happen?
MATLAB: Unexpected code generated when subsystem is changed to atomic
coderpointssignalsignalssimulinksimulink codertestvirtual
Related Question
- Does the testpoint signal appear twice in the rtwCAPI_Signals structure when generating code using Real-Time Workshop 7.2 (R2008b)
- How to access the signals and parameters of referenced models using C-API in Real-Time Workshop 6.2 (R14SP2)
- Does Real-Time Workshop 6.0 (R14) include an extra copy of bus signals in a model’s generated code
- Do the testpointed labels at the output of a virtual subsystem do not show up in the C-API code in Real-Time Workshop 5.3 (R2009a)
- Am I unable to generate C-API files from the rtwdemo_capi demo using Real-Time Workshop 6.2 (R14SP2)
- Is there an example available that demonstrates how to gain access to global signals using the C-API in Real-Time Workshop
Best Answer