Missing "Configure Model Functions" Button in Interface tab of Code Generation

2 ビュー (過去 30 日間)
Jens Gleißberg
Jens Gleißberg 2019 年 2 月 27 日
回答済み: AhmadR 2019 年 10 月 13 日
In the tab "Code Generation" ->"Interface" the button "Configure Model Functions" is missing or greyed out. I used the ert target and Nonreusable function, but I can not control the names of the parameter of the function call.
GreyConfigureModelFunctions.JPG

回答 (2 件)

Harshita Gupta
Harshita Gupta 2019 年 3 月 4 日
The 'ModelStepFunctionPrototypeControlCompliant' parameter can determine whether the 'Configure Model Functions' appears or not.The button can be made to appear and disappear by executing the following command(s):
>> set_param(gcs, 'ModelStepFunctionPrototypeControlCompliant', 'on/off');
The 'Configuration Parameters' window should be reopened for the changes to take effect.
Also consider the following steps for reference:
>> rtwgensettings.SelectCallback = 'custom_select_callback_handler(hDlg, hSrc)';
>> slConfigUISetVal(hDlg, hSrc, 'ModelStepFunctionPrototypeControlCompliant', 'on');
>> slConfigUISetEnabled(hDlg, hSrc, 'ModelStepFunctionPrototypeControlCompliant', false);
As another workaround, try the following to see if this is settable for your configuration set.
>> cfg_set = getActiveConfigSet(bdroot) %must be ERT-derived targe
>> set_param(cfg_set, 'ModelStepFunctionPrototypeControlCompliant', 'on')
>> openDialog(cfg_set)
>> save_system(gcs)
  1 件のコメント
Rongfei deng
Rongfei deng 2019 年 8 月 28 日
I had the same problem. I used Matlab 2019a.
I've tried these methods, but they don't work.
微信截图_20190828100450.png

サインインしてコメントする。


AhmadR
AhmadR 2019 年 10 月 13 日

カテゴリ

Help Center および File ExchangeDeployment, Integration, and Supported Hardware についてさらに検索

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by