Why Real-time model data structure in MATLAB2018b version?

조회 수: 1 (최근 30일)
Asang singh
Asang singh 2019년 8월 27일
댓글: Andrey Kiselnikov 2019년 8월 27일
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?

채택된 답변

Andrey Kiselnikov
Andrey Kiselnikov 2019년 8월 27일
Because both C/C++ coder and HDL coder continuously developing to perform better characteristics and looking of generated code.
  댓글 수: 2
Asang singh
Asang singh 2019년 8월 27일
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 2019년 8월 27일
The MathWorks provides special training where they explain the code generation strategy and how to build a good model for generating the code.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

태그

Community Treasure Hunt

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

Start Hunting!

Translated by