When I generate code from the attached model NonGeneratedCode.mdl, I get the following warning :
Warning: Real-Time Workshop: The subsystem <S1>/CommonReusable2Lib2 specifies Real-Time Workshop file name options. However, no code is generated for this subsystem. The specified source code file will not be created.
I specified that a reusable function must be generated from my Subsystem NonGeneratedCode/If1st/CommonReusable2Lib2.
Best Answer