Rapid Accelerator - Monte Carlo simulation

3 次查看(过去 30 天)
I followed the instructions on this blog.
When the simulations have finished, how do I observe the results from the runs?

采纳的回答

David Amor
David Amor 2015-12-9
Two steps:
(1) Add
'SaveState','on'
To the input parameters of "sim" such that the states of the system will be logged.
simout(i) = sim(mdl,'SimulationMode','rapid',...
'RapidAcceleratorUpToDateCheck','off', ...
'RapidAcceleratorParameterSets',paramSet(i), ...
'SaveState','on');
(2) Access the saved states of the i-th simulation by
simout(i).get('xout')

更多回答(0 个)

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by