How to set same configuration for parent and reference models

16 visualizaciones (últimos 30 días)
Tejas
Tejas el 3 de Nov. de 2023
Comentada: Tejas el 22 de Nov. de 2023
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?

Respuestas (1)

T.Nikhil kumar
T.Nikhil kumar el 22 de Nov. de 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:
  1. Open the ‘Model Explorer’ and navigate to the configurations section of your referenced model.
  2. Right click on the active configuration and select ‘Open’ to open the referenced model’s configuration parameters.
  3. Set the 'Use division for fixed-point net slope computation' field to ‘On’ as per your parent model.
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!
  1 comentario
Tejas
Tejas el 22 de Nov. de 2023
Thanks a Lot for the feedback and explanation..... it's working now, just created new reference and propogated to reference models.

Iniciar sesión para comentar.

Categorías

Más información sobre Modeling en Help Center y File Exchange.

Productos


Versión

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by