MATLAB Answers

Why Real-time model data structure in MATLAB2018b version?

5 views (last 30 days)
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?


Sign in to comment.

Accepted Answer

Andrey Kiselnikov
Andrey Kiselnikov on 27 Aug 2019
Because both C/C++ coder and HDL coder continuously developing to perform better characteristics and looking of generated code.


Asang singh
Asang singh on 27 Aug 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 on 27 Aug 2019
The MathWorks provides special training where they explain the code generation strategy and how to build a good model for generating the code.

Sign in to comment.

More Answers (0)

Sign in to answer this question.