MATLAB: Isn’t Real-Time Workshop 5.0.1 (R13+) generating comments in the generated code for all of the blocks

commentgeneratereal timertwsee;simulink coderworkshop

I tried to put some descriptions regarding an Inport block and an Outport block under the "Block Properties …". When I generate code, the descriptions for the Outport block are copied to the generated code as comments. However, it does not happen for the Inport block.

Best Answer

This enhancement has been incorporated in Release 14 Service Pack 3 (R14SP3). For previous product releases, there are no workarounds.