Borrar filtros
Borrar filtros

Simulink: System Generator Model Warning

7 visualizaciones (últimos 30 días)
Lucian George
Lucian George el 30 de Oct. de 2023
Editada: akshatsood el 30 de Nov. de 2023
Hi Team,
I have this warning in my model developed in simulink in Vitis Model Composer (System Generator).
Warning: Getting parameter 'Parent' of the default block diagram will not be supported in a future release.
The model generates like 4000 warnings but i can't figure out how to remove it or where is the problem in my model.
Thank you all!

Respuestas (1)

akshatsood
akshatsood el 6 de Nov. de 2023
Editada: akshatsood el 6 de Nov. de 2023
I understand that you are encountering several warnings in a model developed in Simulink. Have a look at the R2022a Release Notes attached herewith (with "get_param" highlighted) R2022a Release Notes
These mention that the use of "get_param(0,...)" will be deprecated and getting parameters of the default block diagram will not be supported in a future release. It is important to note that there is no problem with your model, rather the warnings are raised because of using "get_param" function to get the model parameters of the default block diagram.
For suppressing these warning, have a look at the following references
I hope this helps.
  4 comentarios
Lucian George
Lucian George el 28 de Nov. de 2023
Thank you for your fast reply. Unfortunately i can't provide the Simulink model for security reasons.
Can we try to solve the problem in a different way?
Thank you very much,
-Lucian
akshatsood
akshatsood el 30 de Nov. de 2023
Editada: akshatsood el 30 de Nov. de 2023
Certainly, Lucian. I completely understand the security concerns. We can absolutely explore alternative approaches to address the issue you are facing with the Simulink model. Please execute the following command in the MATLAB command window to turn off all warnings.
warning('off','all');
Let me know if ths issue still persists
Thank You

Iniciar sesión para comentar.

Categorías

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

Productos


Versión

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by