MATLAB Answers

Error: A configuration set reference does not allow writing to parameters in the source configuration set

9 ビュー (過去 30 日間)
Biswanath Bose
Biswanath Bose 2019 年 8 月 13 日
Answered: Chidvi Modala 2019 年 8 月 29 日
While using Parameter Estimation tool, I get the following error
I do understand it is related to the configuration parameter setting (i.e imo one of the parameter is set false in the source configuration set).
Am I right in my understanding? If yes, Would it be possible to point me in the right direction in terms of which parameters I should look into?
The simulink model is quite complex in nature and is run in Fixedstep (discrete) mode.
Biswanath Bose

  0 件のコメント

サインイン to comment.

件の回答 (1)

Chidvi Modala
Chidvi Modala 2019 年 8 月 29 日
It seems like the model was using a "configuration reference" rather than storing its configuration internally. You might have used several models which share same configuration set. It is saved in a central place and all the updates apply immediately to all models.
Try setting the configuration parameter as below:
configurationSettings.set_param('Name', 'value');
configurationSettings’ should be a variable in your workspace and the variable’s name should match Referenced configuration set name in the Model Explorer.

  0 件のコメント

サインイン to comment.

サインイン してこの質問に回答します。




Translated by