Please Help!!! Configuration references error when I build and run

3 ビュー (過去 30 日間)
Mevan Pathberiya
Mevan Pathberiya 2017 年 10 月 4 日
移動済み: Voss 2023 年 8 月 8 日
Hi Guys
Can any one tell me how to get past this error, How do i set Parent child settings. Please im and new so i really appreciate your help, thanks!!
### Starting build procedure for model: px4demo_attitude_system
### Build procedure for model: 'px4demo_attitude_system' aborted due to an error.
The following Configuration parameter option(s) do not match between the models 'px4demo_attitude_system (Parent)' and 'px4demo_attitude_control (Child)'. Configuration references can help avoid parameter mismatches.
SupportNonInlinedSFcns [Use set_param to change settings]:
Parent setting: off
Child setting: on
  2 件のコメント
Quan Wei
Quan Wei 2019 年 7 月 2 日
移動済み: Voss 2023 年 8 月 8 日
Did you solve the problem? I also have this problem...
sangmin kim
sangmin kim 2023 年 8 月 7 日
In this case, you have two models; one of them calls the other.
Follow the below procedure:
  • Assumption: The parent model has the 'right' configuration parameter options you want to use.
  • Procedure:
  1. Open the parent model (.slx) and follow the menu: Modeling > Model explorer
  2. On the left pane, there you will find a 'Configurations' option right below your model name "px4demo_..". Click it!
  3. Then, on the middle pane, you will see the 'Configuration.'
  4. Copy and paste it into the 'Configurations' option pane of the other (or child) model. Before this, you had to open the child model and follow the menu: Modeling > Model explorer.
  5. Right-click on the copied 'Configuration' and click the 'Activate' menu. Its color will turn from gray to green.

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

回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by