MATLAB Answers

Removal of RT_MODEL variables in code generation

5 ビュー (過去 30 日間)
Nadeem Syed
Nadeem Syed 2020 年 4 月 11 日
コメント済み: Nadeem Syed 2020 年 4 月 23 日
Hello,
I am using R2019b ert.tlc file for code generation.
Question: How to remove code generaiton for the RT_MODEL_m variables which are getting generated ?
Apparently something related is asked earlier in below link, but nobody gave the correct answer.
I suggested the below setting as suggested by the STAFF member, but it didnt help.
cs.set_param('CodeInterfacePackaging', 'Nonreusable function'); % Code interface packaging.
Any help will be appreciated !!!

  0 件のコメント

Sign in to comment.

採用された回答

Mark McBroom
Mark McBroom 2020 年 4 月 22 日
Look in TEST.h. What is in the data structure RT_MODEL_TEST? If there is an error_status variable, you can disable via this configuration parameter:
Thanks.
Mark.

  7 件のコメント

表示 4 件の古いコメント
Nadeem Syed
Nadeem Syed 2020 年 4 月 22 日
Yes in my configuration SuppressErrorStatus is set to off. Is there any other option which I need to check ?
I will try to post a sample model with my configuration. If that will help to understand the problem.
By any chance did you try this ?
Mark McBroom
Mark McBroom 2020 年 4 月 22 日
I am sorry. SuppressErrorStatus needs to be set to "on".
Nadeem Syed
Nadeem Syed 2020 年 4 月 23 日
ok thanks, it worked.

Sign in to comment.

その他の回答 (0 件)


Translated by