Is it possible to do a batch run with a Simulink model in rapid accelerator mode and linked to a data dictionary without rebuilding the target every iteration?

1 次查看(过去 30 天)
Is it possible to do a batch run with a Simulink model in rapid accelerator mode and linked to a data dictionary without rebuilding the target every iteration?
I am changing a variable within the data dictionary for each run. I find that if I set 'RapidAcceleratorUpToDateCheck' to 'off', my model does not seem to update with the changed data dictionary. It does work correctly if I leave 'RapidAcceleratorUpToDateCheck' to 'on.' However, for the latter case that works, when I calculate the checksum each iteration, they appear to be identical. Does this not suggest that I should not have to rebuild?

回答(1 个)

Ankit Bhatnagar
Ankit Bhatnagar 2017-6-27
Hi,
Yes, this is expected behavior. Data dictionaries are not tunable parameters and if you select this option to be 'off', it will be faster as there won't be a rebuild but does not satisfy the current workflow.
For applications of this option in parallel simulations, see this:
  1. <http://www.mathworks.com/help/simulink/examples/parallel-simulations-using-parsim-parameter-sweep-in-rapid-accelerator-mode.html>

类别

Help CenterFile Exchange 中查找有关 Event Functions 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by