Rapid Accelerator - Monte Carlo simulation

4 Ansichten (letzte 30 Tage)
David Amor
David Amor am 8 Dez. 2015
Beantwortet: David Amor am 9 Dez. 2015
I followed the instructions on this blog.
When the simulations have finished, how do I observe the results from the runs?

Akzeptierte Antwort

David Amor
David Amor am 9 Dez. 2015
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')

Weitere Antworten (0)

Kategorien

Mehr zu Monte-Carlo finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by