Does capturing baseline data in Simulink Test Manager change the model configuration?
3 views (last 30 days)
Show older comments
I have a Simulink Model (Top-Level) and an Test Harness created using Simulink Test Manager. The first test uses assertion/verify statements and runs fine. Second, I wanted to create a baseline test and capture the output signals as a the baseline using the Capture... button. It gives the following error:
Parameter update is not supported for a configuration reference. Update parameter in the configuration set that it references. Could not reset harness-name to its original state after test execution. Close the model to revert changes made by Test Manager during test execution. It is likely that some model settings are not supported, such as Fast Restart or Stepping Options. Parameter update is not supported for a configuration reference. Update parameter in the configuration set that it references. No data is logged for the model 'harness-name'.
The test itself runs fine, only the capture function does not work. It seems that using the capture buttons changes the model configuration (which is not allowed in my model as it uses a configuration reference). Can anyone confirm this behavior is intended and give me some hints how I can capture baseline data using a model with unchangable configuration settings.
0 Comments
Answers (1)
Akshat Dalal
on 18 Dec 2023
Hi Philipp,
I understand that you want to capture the 'baseline data' in a model with configuration reference but are facing an error as Parameter update is not supported for a configuration reference.
I would suggest you to use 'Simulink.SimulationInput' object to override model parameters, as it also supports overriding the model configuration settings even if a configuration reference is used. You could save the object and then obtain your baseline data from it. To read more about 'Simulink.SimulationInput', you could refer the following documentation: https://www.mathworks.com/help/simulink/slref/simulink.simulationinput.html
Hope this helps!
0 Comments
See Also
Categories
Find more on Outputs in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!