Hello Poornachandran,
Migrating Simulink models to a newer version involves several considerations. While there aren't any defined rules for this process, you might find it helpful to follow some guidelines.
Keep in mind that code generation might differ between releases, such as changes in function names or comments. However, the outputs from the generated code should remain consistent across different releases. Your focus should be on ensuring that there are no functional changes in the output.
To start troubleshooting, you can run the Upgrade Advisor and Model Advisor checks:
If functional differences persist, try verifying the simulation outputs. The SIL/PIL Manager can also help you compare simulation results with those from the generated code. For more details, refer to the following documentation:
I hope this helps.