Please Help!!! Configuration references error when I build and run
Mostrar comentarios más antiguos
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 comentarios
sangmin kim
el 7 de Ag. de 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:
- Open the parent model (.slx) and follow the menu: Modeling > Model explorer
- On the left pane, there you will find a 'Configurations' option right below your model name "px4demo_..". Click it!
- Then, on the middle pane, you will see the 'Configuration.'
- 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.
- Right-click on the copied 'Configuration' and click the 'Activate' menu. Its color will turn from gray to green.
Respuestas (0)
Categorías
Más información sobre PX4 Autopilots en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!