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

3 views (last 30 days)
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 Comments
Quan Wei
Quan Wei on 2 Jul 2019
Moved: Voss on 8 Aug 2023
Did you solve the problem? I also have this problem...
sangmin kim
sangmin kim on 7 Aug 2023
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.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!