How to edit Test Sequence/Assessment block parameters via code

3 visualizaciones (últimos 30 días)
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?

Respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by