- Open the ‘Model Explorer’ and navigate to the configurations section of your referenced model.
- Right click on the active configuration and select ‘Open’ to open the referenced model’s configuration parameters.
- Set the 'Use division for fixed-point net slope computation' field to ‘On’ as per your parent model.
How to set same configuration for parent and reference models
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Error:
The setting for the property 'Use division for fixed-point net slope computation' in the 'Math and Data Types' page of the model configuration parameters dialog does not match between the parent model 'Main_model' and the referenced model 'input_model' referenced by the Model block 'Main_model/input_model'. The parent model's setting is 'on' and the referenced model's setting is 'off'
I tried setting same configuration between parent modela and reference model through Model explorer(data dictionary). In the main model configuration, I tried "propogared to referenced models" setting. But still I'm getting such errors. How can I make same configuration setting for both parent and reference models?
0 commentaires
Réponses (1)
T.Nikhil kumar
le 22 Nov 2023
Hello Tejas,
As per my understanding, you are facing an error message saying that there is discrepancy in the 'Use division for fixed-point net slope computation' field in the 'Math and Data Types' section of the model configuration parameters.
For simulations in normal or accelerator mode, it is required that a parent model and referenced model must be configured to perform Fixed-Point Designer net scaling computations in the same way. Hence, you receive this error when both configurations are different.
One possible way you can try to resolve this error is by explicitly setting this configuration parameter in the referenced model independently. Follow the below mentioned steps to manually set the parameter:
Alternatively, you can change the parameter of your parent model to match your referenced model as well in a similar way.
Refer to the following documentation to learn more about setting configuration Parameters for model referencing - https://www.mathworks.com/help/simulink/ug/set-configuration-parameters-for-model-referencing-1.html
You can also try creating a configuration reference and sharing it across all referenced models for uniformity throughout. Refer to this documentation to understand more about it.
Hope this helps!
Voir également
Catégories
En savoir plus sur Create Large-Scale Model Components dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!