Set design verifiers parameters programmatically
5 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (2 件)
Pat Canny
2022 年 1 月 4 日
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
2022 年 2 月 9 日
Use parameter DVMaxProcessTime to set maximum analysis time. You must save the model before calling sltest.testmanager.createTestForComponent() API.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Review Analysis Results についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!