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

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...
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개)

카테고리

도움말 센터File Exchange에서 Simulink에 대해 자세히 알아보기

질문:

2017년 10월 4일

이동:

2023년 8월 8일

Community Treasure Hunt

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

Start Hunting!

Translated by