How to edit Test Sequence/Assessment block parameters via code
3 次查看(过去 30 天)
显示 更早的评论
I'm currently writing a script to automate creation of Test Sequences and Test Assessments based on external data I have. I can edit my blocks in my script to add all the required inports/outports I need on my Test Assessment/Sequence blocks, as well as populate them with my test vectors and expected results.
My issue is that when I try and run my auto-generated model, I get errors on the symbolic inports/outports from my Test Sequence/Assessment blocks that are due to the size and type parameters being set to the defaults. Everytime I generate my model, I have to manually change these by hand. I've gone through the get_params for this block, and none of the options gives me access the parameters I need to change, as I could with other blocks (like normal inports/outports). I'd also like to enable the 'Log Signal data' option as well if possible.
Any options?
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Inputs 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!