Set design verifiers parameters programmatically
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
We have to set design verifiers 'MaxProcessTime' parameter programmatically so by using 'set_param' getting error like,
" block diagram does not have a parameter named 'MaxProcessTime'".
We have also tried sldvoptions but parameters are not reflecting in model.
Please provide effective solution for the same.
0 commentaires
Réponses (2)
Pat Canny
le 4 Jan 2022
Hi Aditi,
You should not use set_param to define the MaxProcess Time. The model itself has no parameter for this.
sldvdemo_cruise_control
optsModel = sldvoptions(bdroot);
optsCopy = optsModel.deepCopy;
optsCopy.MaxProcessTime = 120;
[ status, files ] = sldvrun(bdroot, optsCopy);
Devendra Bhave
le 9 Fév 2022
Use parameter DVMaxProcessTime to set maximum analysis time. You must save the model before calling sltest.testmanager.createTestForComponent() API.
0 commentaires
Voir également
Catégories
En savoir plus sur Specify and Verify Design Requirements 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!