Why Real-time model data structure in MATLAB2018b version?

1 vue (au cours des 30 derniers jours)
Asang singh
Asang singh le 27 Août 2019
Commenté : Andrey Kiselnikov le 27 Août 2019
I have compared the c code generated from MATLAB 2010b as well as MATLAB 2018b (in both the versions all the simulink parameter were same), and I found that in the latest version real time model data stucture is generted. Why it is not there in MATLAB 2010b, but its's there in MATLAB 2018b?

Réponse acceptée

Andrey Kiselnikov
Andrey Kiselnikov le 27 Août 2019
Because both C/C++ coder and HDL coder continuously developing to perform better characteristics and looking of generated code.
  2 commentaires
Asang singh
Asang singh le 27 Août 2019
Thanks for your response Andrey.
I still have one doubt, because of this structure, my step and initialize function's arguments got changed (again compared to 2010b verison), i.e. RT_MODEL is one of the argument which got generated, so is it ok to proceed with this or will it have any effect w.r.t memory or run time.
Andrey Kiselnikov
Andrey Kiselnikov le 27 Août 2019
The MathWorks provides special training where they explain the code generation strategy and how to build a good model for generating the code.

Connectez-vous pour commenter.

Plus de réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by