Matlab migration from 2019b to 2021b

7 visualizaciones (últimos 30 días)
Poornachandran
Poornachandran el 3 de Oct. de 2024
Respondida: Githin George el 4 de Oct. de 2024
Hello Team,
Currently i am doing the model migration from 2019 to 2021.
I have noted , while generating the code the code optimization or code generated in such a way that for the goto SLblock of model or the signal used locally inside subsystem the code is not generated and also for the nested loop the code is generated proper way.
I just want to explore more , when we migrate the matlab version of the model what are all the necessary parameters needs to check both in simulink model to code generation.
Can someone help me to explore more on this migration topic.
Thank u

Respuestas (1)

Githin George
Githin George el 4 de Oct. de 2024
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.

Categorías

Más información sobre Modeling en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by