I have a Simulink model with root level inport and outport signals which have enabled test points. After I disable the test point property of the signal the signal name still shows up in ASAP file after generating code from the model. The signal with the test points has the storage class "Default (Model default)".
The generated ASAP2 (.a2l) file contains all 10 test points of the model root level signals. If I remove the test point e.g. "myname1" from a root level signal (right-click, "Signal Properties", "Logging and Accessibility", check "Test Point"), save the modified model and generate code again: "myname1" is still present in the generated ASAP2 (.a2l) file.
I expect when toggle the test point feature of a root level Simulink signal the ASAP2 measurement will be not generated.
Best Answer